:root {
    --primary-color: #8e44ad;
    --secondary-color: #f39c12;
    --light-color: #f5f5f5;
    --dark-color: #333;
    --success-color: #27ae60;
    --danger-color: #e74c3c;
}

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

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

header {
    background: linear-gradient(135deg, var(--primary-color), #9b59b6);
    color: white;
    padding: 1rem;
    text-align: center;
}

.logo-text {
    font-size: 2rem;
    font-weight: bold;
}

.logo-subtext {
    font-size: 1.2rem;
    font-weight: 500;
}

.logo-smalltext {
    font-size: 0.9rem;
    margin-top: 5px;
}

.logo {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.logo-text-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.logo img {
    height: 144px;
    width: 144px;
    margin-right: 15px;
    object-fit: contain;
}

.logo-text {
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 0.5rem;
}

.logo-text,
.logo-subtext,
.logo-smalltext {
    font-family: 'Great Vibes', cursive;
    text-align: center;
}

nav {
    background: transparent;
    padding: 0.5rem 0;
    margin-top: 1rem;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 2rem;
}

nav ul li {
    margin: 0;
}

nav ul li a,
nav ul li .cart-icon {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: inline-block;
    position: relative;
}

nav ul li a:hover,
nav ul li .cart-icon:hover {
    color: white;
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
}

.hero {
    text-align: center;
    padding: 2rem 0;
    margin-bottom: 2rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: #666;
}

.btn {
    display: inline-block;
    padding: 0.7rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s;
}

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

.btn-primary:hover {
    background-color: #7d3c98;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: white;
    width: 100%;
    padding: 0.75rem;
}

h2 {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

.categories {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.category-btn {
    background-color: #f0f0f0;
    border: none;
    padding: 0.5rem 1rem;
    margin: 0 0.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s;
}

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

.products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.product {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    height: 450px;
}

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

.product-image {
    height: 200px;
    background-color: #f9f9f9;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.product-info {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    position: relative;
}

.product-title {
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

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

.product-description {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    height: 80px;
    overflow: hidden;
    word-wrap: break-word;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}

.add-to-cart {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    padding: 0.5rem;
    width: 100%;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
    margin-top: auto;
}

.add-to-cart:hover {
    background-color: #7d3c98;
}

.about {
    background-color: white;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 3rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.about h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.about h2::after {
    left: 50%;
    transform: translateX(-50%);
}

.about p {
    text-align: justify;
}

.about p:last-of-type {
    text-align: right;
}

/* Apply the same styling to Contact Us section */
#contact .about p {
    text-align: justify;
}
        
        
        
        
        
        

footer {
    background-color: var(--dark-color);
    color: white;
    padding: 2rem 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section {
    flex: 1;
    min-width: 300px;
    margin-bottom: 1rem;
    padding: 0 1rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--secondary-color);
}
        
.footer-section p, .footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
}
        
.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}
        
.footer-section a:hover {
    color: var(--secondary-color);
}

.social-links {
    margin-top: 1rem;
}
        
.social-links a {
    display: inline-block;
    margin: 0 0.5rem;
    color: white;
    font-size: 1.5rem;
    transition: color 0.3s;
}
        
.social-links a:hover {
    color: var(--secondary-color);
}

.copyright {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #444;
    font-size: 0.9rem;
    color: #aaa;
}

/* Cart styles */
.cart-icon {
    cursor: pointer;
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: linear-gradient(135deg, var(--secondary-color), #e67e22);
    color: white;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

#cart-dropdown {
    position: absolute;
    right: 1rem;
    top: 60px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    width: 300px;
    z-index: 100;
    display: none;
}

.cart-items {
    max-height: 300px;
    overflow-y: auto;
    padding: 1rem;
}

.cart-item {
    display: flex;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.cart-item-image {
    width: 60px;
    height: 60px;
    margin-right: 1rem;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.cart-item-details {
    flex: 1;
}

.cart-item-title {
    font-weight: bold;
    margin-bottom: 0.25rem;
}

.cart-item-price {
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 0.25rem;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
}

.quantity-btn {
    background-color: #eee;
    border: none;
    width: 25px;
    height: 25px;
    border-radius: 4px;
    cursor: pointer;
}

.quantity-input {
    width: 40px;
    text-align: center;
    margin: 0 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 0.25rem;
}

.remove-item {
    background: none;
    border: none;
    color: var(--danger-color);
    font-size: 1.2rem;
    cursor: pointer;
    margin-left: 0.5rem;
}

.empty-cart-message {
    text-align: center;
    color: #999;
    padding: 1rem 0;
}

.cart-total {
    padding: 1rem;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    font-weight: bold;
}

.cart-buttons {
    padding: 0 1rem 1rem;
    display: flex;
    gap: 0.5rem;
}

.cart-buttons button {
    flex: 1;
    padding: 0.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

.clear-cart {
    background-color: #eee;
    color: var(--dark-color);
}

.checkout {
    background-color: var(--success-color);
    color: white;
}

/* Modal styles */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal {
    background-color: white;
    border-radius: 5px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

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

.modal-title {
    font-size: 1.5rem;
    font-weight: bold;
}

.close-modal {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #999;
    padding: 5px 10px;
    transition: color 0.3s;
    z-index: 1001;
}

.close-modal:hover {
    color: #333;
}

.modal-body {
    padding: 20px;
}

.modal-body h3 {
    margin-top: 0;
}

.modal-body h4 {
    margin-top: 20px;
    margin-bottom: 10px;
}

.modal-body ul {
    padding-left: 20px;
}

.checkout-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.checkout-form input,
.checkout-form select,
.checkout-form textarea {
    width: 100%;
    padding: 0.5rem;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.payment-methods {
    margin-bottom: 1rem;
}

.payment-method {
    margin-bottom: 0.5rem;
}

.payment-details {
    background-color: #f9f9f9;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

/* FAQ Modal Styles */
.faq-item {
    margin-bottom: 25px;
}

.faq-item h4 {
    border-bottom: 1px solid #eee;
    padding-bottom: 8px;
    margin-bottom: 15px;
    color: #333;
}

.faq-question {
    margin-bottom: 15px;
    padding-left: 10px;
    border-left: 3px solid #f0f0f0;
}

.faq-question p {
    margin: 8px 0;
}

.faq-question strong {
    color: #555;
}

/* Make the modal larger for FAQ */
#faqModal .modal {
    max-width: 700px;
    max-height: 80vh;
}

/* Style links within FAQ */
.faq-question a {
    color: #a07b50;
    text-decoration: none;
}

.faq-question a:hover {
    text-decoration: underline;
}

/* Privacy Policy Modal Styles */
#privacyPolicyModal .modal {
    max-width: 700px;
    max-height: 80vh;
}

#privacyPolicyModal h4 {
    margin-top: 20px;
    margin-bottom: 10px;
    color: #333;
    font-weight: 600;
}

#privacyPolicyModal ul {
    margin-bottom: 15px;
}

#privacyPolicyModal p {
    margin-bottom: 10px;
    line-height: 1.5;
}

#privacyPolicyModal a {
    color: #a07b50;
    text-decoration: none;
}

#privacyPolicyModal a:hover {
    text-decoration: underline;
}

/* Media queries */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    nav ul li {
        margin: 0.5rem 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .categories {
        flex-wrap: wrap;
    }
    
    .category-btn {
        margin-bottom: 0.5rem;
    }
    
    .footer-section {
        min-width: 100%;
    }
}

/* Responsive navigation */
.menu-toggle {
    display: none;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.menu-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        position: absolute;
        top: 1rem;
        right: 1rem;
    }
    
    nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
    }
    
    nav ul.show {
        display: flex;
    }
    
    .header-container {
        position: relative;
    }
}
