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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f8f9fa;
}

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

/* Header */
header {
    background: #1a1a2e;
    color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
}

.logo h1 span {
    color: #e67e22;
}

.logo p {
    font-size: 0.8rem;
    opacity: 0.8;
}

nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover, .nav-links a.active {
    color: #e67e22;
}

.cart-icon-header a {
    color: white;
    font-size: 1.3rem;
    position: relative;
    text-decoration: none;
}

#cart-count {
    position: absolute;
    top: -10px;
    right: -12px;
    background: #e67e22;
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 0.7rem;
    font-weight: bold;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
}

/* Slideshow */
.hero-slideshow {
    position: relative;
}

.slideshow-container {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.slide.fade {
    opacity: 1;
}

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

.slide-text {
    position: absolute;
    bottom: 20%;
    left: 10%;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 20px 30px;
    border-radius: 10px;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 24px;
    background: rgba(0,0,0,0.5);
    border-radius: 50%;
    user-select: none;
}

.prev { left: 20px; }
.next { right: 20px; }

.dots-container {
    text-align: center;
    position: absolute;
    bottom: 20px;
    width: 100%;
}

.dot {
    cursor: pointer;
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
}

.dot.active, .dot:hover {
    background-color: #e67e22;
}

/* Service Grid */
.service-grid, .features-grid, .values-grid, .products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.service-card, .feature, .value-item, .product-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

.product-card {
    text-align: left;
    padding: 0;
    overflow: hidden;
}

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

.product-card img {
    width: 100%;
    height: 180px;
    object-fit: contain;
}

.product-info {
    padding: 15px;
}

.product-specs {
    display: flex;
    gap: 10px;
    font-size: 0.8rem;
    color: #666;
    margin: 10px 0;
}

.product-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: #e67e22;
    margin: 10px 0;
}

.product-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.quantity-control {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 5px;
}

.quantity-control button {
    background: #f0f0f0;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

.qty-input {
    width: 45px;
    text-align: center;
    border: none;
}

.add-to-cart-btn {
    background: #e67e22;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 8px;
    cursor: pointer;
    flex: 1;
}

/* Shop Controls */
.shop-controls {
    background: white;
    padding: 20px 0;
    margin-bottom: 30px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.filter-bar {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.search-box {
    flex: 2;
    position: relative;
}

.search-box input {
    width: 100%;
    padding: 12px 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
}

.search-box i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}

.filter-group select, .sort-group select {
    padding: 12px 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    background: white;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 40px 0;
}

.pagination button {
    padding: 10px 20px;
    background: #e67e22;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

.pagination button:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Cart Page */
.cart-container {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.cart-items {
    flex: 2;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 20px;
    background: white;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 10px;
    flex-wrap: wrap;
}

.cart-item img {
    width: 100px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
}

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

.cart-item-price, .cart-item-total {
    font-weight: 600;
    min-width: 80px;
}

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

.cart-item-quantity button {
    background: #f0f0f0;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 5px;
    cursor: pointer;
}

.remove-item {
    background: #dc3545;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 8px;
    cursor: pointer;
}

.cart-summary {
    flex: 1;
    background: white;
    padding: 25px;
    border-radius: 15px;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.summary-row.total {
    font-size: 1.3rem;
    font-weight: 700;
    color: #e67e22;
}

.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    border: none;
    margin-top: 15px;
    width: 100%;
}

.btn-primary {
    background: #e67e22;
    color: white;
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

/* Footer */
footer {
    background: #1a1a2e;
    color: white;
    padding: 40px 0 20px;
    margin-top: 50px;
}

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

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

.footer-section a {
    color: #ccc;
    text-decoration: none;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #333;
    margin-top: 30px;
}

/* Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    .nav-links {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: #1a1a2e;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 20px 0;
    }
    .nav-links.active {
        left: 0;
    }
    .filter-bar {
        flex-direction: column;
    }
    .cart-item {
        flex-direction: column;
        text-align: center;
    }
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: 15px;
}

.service-category {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.service-item {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.service-item i {
    font-size: 2rem;
    color: #e67e22;
    margin-bottom: 15px;
}

.review-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 20px;
    text-align: center;
}

.review-card i.fa-star {
    color: #ffc107;
}

.contact-details, .contact-form {
    background: white;
    padding: 30px;
    border-radius: 12px;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.cart-item-actions {
    display: flex;
    gap: 10px;
}

.remove-item-btn {
    background: #dc3545;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s;
}

.remove-item-btn:hover {
    background: #c82333;
}

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

.cart-qty-input {
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-align: center;
}

/* Product Modal Styles */
.product-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: white;
    border-radius: 20px;
    max-width: 1000px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideIn 0.3s ease;
}

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

.modal-close {
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 35px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    transition: 0.3s;
    z-index: 10;
}

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

.modal-body {
    display: flex;
    flex-wrap: wrap;
    padding: 25px;
    gap: 30px;
}

.modal-left {
    flex: 1;
    min-width: 280px;
}

.modal-left img {
    width: 100%;
    border-radius: 15px;
    object-fit: cover;
}

.modal-right {
    flex: 1.5;
    min-width: 280px;
}

.modal-right h2 {
    font-size: 1.8rem;
    color: #1a1a2e;
    margin-bottom: 15px;
    border-left: 4px solid #e67e22;
    padding-left: 15px;
}

.modal-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.modal-specs span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #555;
}

.modal-specs i {
    color: #e67e22;
    width: 20px;
}

.modal-price {
    font-size: 2rem;
    font-weight: 800;
    color: #e67e22;
    margin-bottom: 20px;
}

.modal-description {
    margin-bottom: 25px;
}

.modal-description h3 {
    color: #1a1a2e;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.modal-description p {
    color: #555;
    line-height: 1.7;
}

.modal-contact {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    padding: 20px;
    border-radius: 15px;
    margin-top: 20px;
}

.modal-contact h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.modal-contact p {
    margin: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-contact p i {
    width: 25px;
    color: #e67e22;
}

.modal-contact-btn {
    display: inline-block;
    background: #e67e22;
    color: white;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 15px;
    transition: all 0.3s;
    text-align: center;
}

.modal-contact-btn:hover {
    background: #cc6b1a;
    transform: translateX(5px);
}

/* Make product card clickable */
.product-clickable {
    cursor: pointer;
    transition: 0.3s;
}

.product-clickable:hover {
    opacity: 0.95;
}

.product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-actions {
    padding: 0 15px 15px 15px;
    border-top: 1px solid #eee;
    padding-top: 12px;
}

/* Cart Notification */
.cart-notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #28a745;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 0.9rem;
    z-index: 2001;
    animation: slideInRight 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

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

.cart-notification i {
    margin-right: 8px;
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modal-body {
        flex-direction: column;
        padding: 20px;
    }
    
    .modal-right h2 {
        font-size: 1.4rem;
    }
    
    .modal-price {
        font-size: 1.5rem;
    }
    
    .modal-close {
        top: 10px;
        right: 15px;
        font-size: 28px;
    }
}