/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Header Styles */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
}

.header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Logo Styles */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.logo-icon {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
}

.logo-text h1 {
    color: #2c3e50;
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.5px;
}

/* Search Section */
.search-section {
    flex: 1;
    max-width: 500px;
    margin: 0 20px;
}

.search-box {
    position: relative;
    width: 100%;
}

.search-box i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #7f8c8d;
    font-size: 16px;
}

.search-box input {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    font-size: 16px;
    outline: none;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.search-box input:focus {
    border-color: #3498db;
    background: white;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.search-box input::placeholder {
    color: #95a5a6;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

.action-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    text-decoration: none;
    color: #2c3e50;
}

.action-btn:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
}

.action-btn i {
    font-size: 20px;
}

.location-btn:hover {
    color: #e74c3c;
}

.account-btn:hover {
    color: #3498db;
}

.cart-btn {
    position: relative;
}

.cart-btn:hover {
    color: #f39c12;
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #e74c3c;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.whatsapp-btn {
    background: #25d366 !important;
    color: white !important;
}

.whatsapp-btn:hover {
    background: #20b954 !important;
    transform: translateY(-2px) scale(1.1);
}

/* Navigation Menu */
.main-nav {
    margin-top: 15px;
    border-top: 1px solid #ecf0f1;
    padding-top: 15px;
}

.main-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 40px;
    align-items: center;
    margin: 0;
    padding: 0;
}

.main-nav a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    font-size: 15px;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
}

.main-nav a:hover {
    color: #3498db;
    background: rgba(52, 152, 219, 0.1);
}

.main-nav a.active {
    color: #3498db;
    background: rgba(52, 152, 219, 0.1);

    border-radius: 8px;
    object-fit: cover;
}

.logo-text h1 {
    color: #2c3e50;
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.5px;
}

/* Search Section */
.search-section {
    flex: 1;
    max-width: 500px;
    margin: 0 20px;
}

.search-box {
    position: relative;
    width: 100%;
}

.search-box i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #7f8c8d;
    font-size: 16px;
}

.search-box input {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    font-size: 16px;
    outline: none;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.search-box input:focus {
    border-color: #3498db;
    background: white;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.search-box input::placeholder {
    color: #95a5a6;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

.action-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    text-decoration: none;
    color: #2c3e50;
}

.action-btn:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
}

.action-btn i {
    font-size: 20px;
}

.location-btn:hover {
    color: #e74c3c;
}

.account-btn:hover {
    color: #3498db;
}

.cart-btn {
    position: relative;
}

.cart-btn:hover {
    color: #f39c12;
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #e74c3c;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.whatsapp-btn {
    background: #25d366 !important;
    color: white !important;
}

.whatsapp-btn:hover {
    background: #20b954 !important;
    transform: translateY(-2px) scale(1.1);
}

/* Navigation Menu */
.main-nav {
    margin-top: 15px;
    border-top: 1px solid #ecf0f1;
    padding-top: 15px;
}

.main-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 40px;
    align-items: center;
    margin: 0;
    padding: 0;
}

.main-nav a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    font-size: 15px;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
}

.main-nav a:hover {
    color: #3498db;
    background: rgba(52, 152, 219, 0.1);
}

.main-nav a.active {
    color: #3498db;
    background: rgba(52, 152, 219, 0.1);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: #2c3e50;
    cursor: pointer;
    position: fixed;
    top: 85px;
    right: 20px;
    z-index: 1001;
    padding: 10px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    background: #f8f9fa;
    color: #3498db;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 150px 0 100px;
    display: flex;
    align-items: center;
    min-height: 100vh;
}

.hero-content {
    flex: 1;
    padding: 0 50px;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 18px;
    margin-bottom: 15px;
    opacity: 0.9;
}

.hero-buttons {
    margin-top: 30px;
    display: flex;
    gap: 20px;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #3498db;
    color: white;
}

.btn-primary:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #3498db;
}

/* Services Section */
.services {
    padding: 180px 0 100px 0;
    background: #f8f9fa;
}

.services h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 60px;
    color: #2c3e50;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.service-card i {
    font-size: 48px;
    color: #3498db;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #2c3e50;
}

.service-card p {
    color: #7f8c8d;
    line-height: 1.6;
}

/* Products Section */
.products {
    padding: 180px 0 100px 0;
    background: white;
}

.products h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 60px;
    color: #2c3e50;
}

.category-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 25px;
    border: 2px solid #3498db;
    background: transparent;
    color: #3498db;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.tab-btn.active,
.tab-btn:hover {
    background: #3498db;
    color: white;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.product-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.product-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.product-item h3 {
    padding: 20px 20px 10px;
    color: #2c3e50;
    font-size: 20px;
}

.product-item p {
    padding: 0 20px;
    color: #7f8c8d;
    margin-bottom: 15px;
}

.product-item .price {
    padding: 0 20px;
    font-size: 18px;
    font-weight: 600;
    color: #e74c3c;
    margin-bottom: 20px;
}

.product-item .btn {
    margin: 0 20px 20px;
    width: calc(100% - 40px);
}

/* About Section */
.about {
    padding: 180px 0 100px 0;
    background: #f8f9fa;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-text {
    flex: 1;
}

.about h2 {
    font-size: 36px;
    margin-bottom: 30px;
    color: #2c3e50;
}

.about p {
    font-size: 16px;
    color: #7f8c8d;
    margin-bottom: 40px;
    line-height: 1.8;
}

.about-features {
    display: grid;
    gap: 30px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 20px;
}

.feature i {
    font-size: 32px;
    color: #3498db;
    min-width: 50px;
}

.feature h3 {
    color: #2c3e50;
    margin-bottom: 5px;
}

.feature p {
    color: #7f8c8d;
    margin: 0;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

/* Contact Section */
.contact {
    padding: 180px 0 100px 0;
    background: white;
}

.contact h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 60px;
    color: #2c3e50;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info {
    display: grid;
    gap: 30px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.info-item i {
    font-size: 24px;
    color: #3498db;
    margin-top: 5px;
    min-width: 30px;
}

.info-item h3 {
    color: #2c3e50;
    margin-bottom: 5px;
}

.info-item p {
    color: #7f8c8d;
    margin: 0;
}

.info-item a {
    color: #3498db;
    text-decoration: none;
}

.info-item a:hover {
    text-decoration: underline;
}

.contact-form {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 10px;
}

.contact-form h3 {
    margin-bottom: 30px;
    color: #2c3e50;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Account and Orders Sections */
.account, .orders {
    padding: 200px 0 100px 0;
    min-height: 100vh;
}

.account-content {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 40px;
}

.account-sidebar ul {
    list-style: none;
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px 0;
}

.account-sidebar li {
    margin-bottom: 10px;
}

.account-sidebar a {
    display: block;
    padding: 15px 25px;
    color: #2c3e50;
    text-decoration: none;
    transition: all 0.3s ease;
}

.account-sidebar a:hover,
.account-sidebar a.active {
    background: #3498db;
    color: white;
}

.account-main {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.profile-form {
    max-width: 500px;
}

.profile-form label {
    display: block;
    margin-bottom: 5px;
    color: #2c3e50;
    font-weight: 500;
}

.orders-list {
    display: grid;
    gap: 20px;
}

.order-item {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    align-items: center;
}

.order-info h3 {
    color: #2c3e50;
    margin-bottom: 5px;
}

.order-info p {
    color: #7f8c8d;
    margin-bottom: 5px;
}

.status {
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
}

.status.completed {
    background: #d4edda;
    color: #155724;
}

.status.in-progress {
    background: #fff3cd;
    color: #856404;
}

.order-details p {
    margin-bottom: 5px;
    color: #2c3e50;
}

.order-actions {
    display: flex;
    gap: 10px;
}

.order-actions .btn {
    padding: 8px 15px;
    font-size: 14px;
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    margin-bottom: 20px;
    color: #3498db;
}

.footer-section p {
    line-height: 1.6;
    margin-bottom: 20px;
    opacity: 0.9;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #ecf0f1;
    text-decoration: none;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.footer-section a:hover {
    color: #3498db;
    opacity: 1;
}

.footer .social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: #3498db;
    color: white;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.footer .social-links a:hover {
    background: white;
    color: #3498db;
    transform: translateY(-3px);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    gap: 10px;
}

.contact-item i {
    color: #3498db;
    margin-top: 3px;
    min-width: 20px;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    margin-bottom: 5px;
    opacity: 0.8;
}

/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    text-decoration: none;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    animation: pulse 2s infinite;
    z-index: 1000;
}

.floating-whatsapp:hover {
    background: #20b954;
    transform: scale(1.1);
}

@keyframes pulse {
    0% {
        box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 5px 30px rgba(37, 211, 102, 0.8);
    }
    100% {
        box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    }
}

/* Cart Sidebar */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: white;
    box-shadow: -5px 0 20px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
    z-index: 1001;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.open {
    right: 0;
}

.cart-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close-cart {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #7f8c8d;
}

.cart-content {
    flex: 1;
    padding: 20px;
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid #eee;
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        padding: 10px 0;
    }
    
    .header-main {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .logo {
        justify-content: center;
    }
    
    .search-section {
        margin: 0;
        max-width: none;
        order: 2;
    }
    
    .header-actions {
        justify-content: center;
        order: 3;
    }
    
    .main-nav {
        margin-top: 10px;
        padding-top: 10px;
    }
    
    .main-nav ul {
        flex-wrap: wrap;
        gap: 15px;
        justify-content: center;
    }
    
    .main-nav a {
        padding: 6px 12px;
        font-size: 14px;
    }
    
    .header-main {
        flex-direction: column;
        gap: 15px;
        position: relative;
    }
    
    .logo {
        text-align: center;
    }
    
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        border-radius: 8px;
        padding: 20px;
        z-index: 1000;
    }
    
    .main-nav.show {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        align-items: center;
    }
    
    .main-nav a {
        display: block;
        padding: 12px 20px;
        background: #f8f9fa;
        border-radius: 6px;
        width: 100%;
        max-width: 200px;
    }
    
    .main-nav a:hover {
        background: #3498db;
        color: white;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .header-actions {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 200px 0 60px;
    }
    
    .services,
    .products,
    .about,
    .contact {
        padding: 200px 0 60px 0;
    }
    
    .hero-content {
        padding: 0 20px;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .category-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .about-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .account-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .account-sidebar ul {
        display: flex;
        overflow-x: auto;
        gap: 10px;
        padding: 10px;
    }
    
    .account-sidebar a {
        white-space: nowrap;
    }
    
    .order-item {
        grid-template-columns: 1fr;
        gap: 15px;
        text-align: center;
    }
    
    .order-actions {
        justify-content: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
    
    .floating-whatsapp {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .services h2,
    .products h2,
    .about h2,
    .contact h2 {
        font-size: 28px;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    .account-main {
        padding: 20px;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}