* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #2b6cb0;
    --secondary-blue: #3182ce;
    --light-blue: #ebf8ff;
    --primary-green: #38a169;
    --light-green: #f0fff4;
    --white: #ffffff;
    --light-gray: #f5f7fa;
    --dark-gray: #232f3e;
    --text-color: #4a5568;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--light-gray);
    color: var(--text-color);
    line-height: 1.6;
    
}

header {
    background-color: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 2.85rem;
    font-weight: bold;
    color: var(--primary-blue);
}

.logo img {
    margin-right: 10px;
}

nav a {
    margin-left: 24px;
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 500;
    transition: color 0.3s;
    font-size: 16px;
}

.bg-kelshair2{
    height:35px; 
    width:90px;

}

nav a:hover {
    color: var(--primary-blue);
}

.nav-icons {
    display: flex;
    align-items: center;
}

.nav-icons i {
    margin-left: 20px;
    font-size: 2rem;
    color: var(--dark-gray);
    cursor: pointer;
}

.nav-icons i:hover {
    color: var(--primary-blue);
}

.cart-count {
    background-color: var(--primary-green);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.7rem;
    position: absolute;
    top: -5px;
    right: -5px;
}

.cart-icon {
    position: relative;
}

.header2{
    display: none;
    
}

@media (max-width: 1100px) {
    .header1, .categories, #services{
        display: none;
    }
    .header2{
        display: flex;
        flex-direction: column;
    }
}


    /* Top Nav */

.top-nav a {
    text-decoration: none;
    color: var(--dark-gray);
    font-size: 14px;
    white-space: nowrap;
}

.top-nav a:hover {
    color: var(--secondary-blue);
}


.hero {
    background: linear-gradient(to bottom right, var(--light-blue), var(--white));
    background-image: url(../img/mediamodifier-7cERndkOyDw-unsplash.jpg);
    background-size: cover;
    padding: 80px 20px;
    text-align: center;
    border-radius: 0 0 30px 30px;
}

.hero h1 {
    font-size: 5rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.7rem;
    color: var(--text-color);
    max-width: 650px;
    margin: 0 auto 30px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.btn {
    padding: 12px 28px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.btn-secondary {
    background-color: var(--primary-green);
    color: white;
}

.btn-secondary:hover {
    background-color: #3fa3bf;
}

.categories {
    max-width: 1100px;
    margin: 60px auto;
    padding: 0 20px;
}

.categories h2 {
    text-align: center;
    font-size: 4rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--dark-gray);
}

.categories p.intro {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 40px;
    color: var(--text-color);
    font-size: 1.6rem;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.category-card {
    background-color: var(--white);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease;
    text-align: center;
    cursor: pointer;
    padding-bottom: 50px;
}

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

.category-card i {
    font-size: 4.5rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.category-card h3 {
    color: var(--dark-gray);
    font-size: 2.2rem;
    line-height: 1px;
    font-weight: 600;
}

.products {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.section-header h2 {
    font-size: 3.5rem;
    color: var(--dark-gray);
    font-weight: 600;
}

.view-all {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease;
    cursor: pointer;
}

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

.product-image {
    height: 200px;
    background-color: var(--light-blue);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info {
    padding: 20px;
}

.product-info h3 a {
    color: var(--dark-gray);
    font-size: 2rem;
    margin-bottom: 10px;
    font-weight: 600;

}

.product-info p {
    color: var(--text-color);
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 1.5rem;
}

.product-price {
    font-weight: bold;
    color: var(--primary-green);
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.product-rating {
    color: #f59e0b;
    margin-bottom: 15px;
}

.product-actions {
    display: flex;
    justify-content: space-between;
}

.product-actions button {
    padding: 8px 15px;
    border: none;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.add-to-cart {
    background-color: var(--primary-blue);
    color: white;
    flex-grow: 1;
    margin-right: 10px;
}

.add-to-cart:hover {
    background-color: var(--secondary-blue);
}

.view-details {
    background-color: var(--light-green);
    color: var(--primary-green);
}

.view-details:hover {
    background-color: var(--primary-green);
    color: white;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    overflow-y: auto;
}

.modal-content {
    background-color: var(--white);
    margin: 50px auto;
    border-radius: 12px;
    max-width: 1000px;
    width: 90%;
    animation: modalFade 0.3s;
}

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

.modal-header {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e2e8f0;
}

.modal-header h2 {
    color: var(--dark-gray);
}

.close-modal {
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-color);
}

.modal-body {
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.product-gallery {
    display: flex;
    flex-direction: column;
}

.main-image {
    height: 300px;
    background-color: var(--light-blue);
    border-radius: 8px;
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail-container {
    display: flex;
    gap: 10px;
}

.thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 4px;
    cursor: pointer;
    overflow: hidden;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-details {
    padding: 10px;
}

.product-title {
    font-size: 1.8rem;
    color: var(--dark-gray);
    margin-bottom: 10px;
}

.product-price-large {
    font-size: 1.5rem;
    color: var(--primary-green);
    font-weight: bold;
    margin-bottom: 15px;
}

.product-description {
    margin-bottom: 20px;
    line-height: 1.8;
}

.product-meta {
    margin-bottom: 20px;
}

.meta-item {
    display: flex;
    margin-bottom: 10px;
}

.meta-label {
    font-weight: 600;
    width: 120px;
    color: var(--dark-gray);
}

.add-to-cart-large {
    background-color: var(--primary-blue);
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
    margin-bottom: 15px;
}

.add-to-cart-large:hover {
    background-color: var(--secondary-blue);
}

.similar-products {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.similar-products h3 {
    font-size: 1.5rem;
    color: var(--dark-gray);
    margin-bottom: 20px;
    padding-left: 10px;
}

footer {
    background-color: var(--dark-gray);
    color: white;
    padding: 50px 20px 30px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.footer-column h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column a {
    color: #cbd5e0;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: var(--white);
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    transition: background-color 0.3s;
}

.social-icons a:hover {
    background-color: var(--primary-blue);
}

.copyright {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #4a5568;
    color: #cbd5e0;
}

@media (max-width: 768px) {
    .hero h1 {
    font-size: 2rem;
    }

    .hero p {
    font-size: 1rem;
    }

    .hero-buttons {
    flex-direction: column;
    }

    .modal-body {
    grid-template-columns: 1fr;
    }

    .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}



@media (max-width: 480px) {
    .logo {
    font-size: 1.5rem;
    }

    .hero {
    padding: 50px 15px;
    }

    .category-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .product-grid {
    grid-template-columns: 1fr;
    }

    .footer-content {
    grid-template-columns: 1fr;
    
    }
}


.newproduct {
    padding: 60px 0;
}

@media (max-width: 992px) {
    .newproduct {
        padding: 50px 0;
    }
}

@media (max-width: 768px) {
    .newproduct {
        padding: 40px 0;
    }
}

@media (max-width: 576px) {
    .newproduct {
        padding: 30px 0;
    }
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 0 15px;
}

@media (max-width: 992px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
}

.product-card {
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.product-img img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.product-info {
    padding: 15px;
}

.product-info h3 {
    font-size: 16px;
    margin-bottom: 10px;
}

.product-info p {
    font-weight: bold;
    color: #333;
}

.product-action {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}

.product-action button {
    color: black;
    border: none;
    padding: 8px 12px;
    border-radius: 5px;
    font-size: 12px;
    cursor: pointer;
}

.product-action img {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

h2 {
    text-align: center;
    margin-bottom: 30px;
    font-weight: 700;
}


/* Center the newadditions section */
.newadditions {
    text-align: center;
    padding: 60px 15px;
}

.newadditions h1 {
    margin-bottom: 40px;
}

/* Center the product grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

@media (max-width: 992px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
}

.addition-card {
    text-align: center;
}

.addition-img img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
}

.addition-card h3 {
    margin-top: 15px;
    font-size: 18px;
}

.page-banner{
    background-color: var(--primary-blue);
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid var(--light-gray);
    display: flex;
    justify-content: space-around;
    padding: 8px 0;
    z-index: 1000;
}

.bottom-nav a {
    text-decoration: none;
    color: var(--dark-gray);
    text-align: center;
    flex: 1;
    font-size: 0.9rem;
}

.bottom-nav a i {
    display: block;
    font-size: 1.2rem;
    margin-bottom: 2px;
}

.bottom-nav a.active {
    color: var(--primary-blue);
}

