:root {
    --primary: #1a5276;
    --secondary: #2980b9;
    --accent: #3498db;
    --light: #ecf0f1;
    --dark: #2c3e50;
    --text: #34495e;
    --success: #27ae60;
    --warning: #f39c12;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background-color: #f5f7fa;
    color: var(--text);
    display: flex;
    flex-direction: column;
}

/* Sidebar Styles */
.sidebar {
    width: 280px;
    background: linear-gradient(180deg, var(--primary), var(--secondary));
    color: white;
    padding: 30px 0;
    height: 100vh;
    position: fixed;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    z-index: 100;
    transition: transform 0.3s ease;
}

.sidebar-header {
    padding: 0 25px 25px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
}

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

.logo-img {
    width: 180px;
    height: auto;
    margin-bottom: 10px;
}

.logo-text {
    font-size: 14px;
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sidebar-menu {
    list-style-type: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
}

.sidebar-menu li {
    padding: 15px 25px;
    transition: all 0.3s;
}

.sidebar-menu li:hover {
    background-color: rgba(255,255,255,0.1);
    cursor: pointer;
    border-left: 4px solid white;
}

.sidebar-menu li a {
    color: var(--light);
    text-decoration: none;
    display: block;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Main Content Styles */
.main-content {
    margin-left: 280px;
    padding: 40px;
    flex: 1;
    min-height: 100vh;
    transition: margin 0.3s ease;
}

.content-header {
    color: var(--dark);
    font-size: 28px;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--accent);
}

.content-text {
    color: var(--text);
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.product-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

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

.product-image {
    height: 250px;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-details {
    padding: 20px;
}

.product-title {
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark);
    font-size: 20px;
}

.product-description {
    color: var(--text);
    margin-bottom: 15px;
    font-size: 14px;
    line-height: 1.5;
}

.product-price {
    color: var(--secondary);
    font-weight: bold;
    margin-bottom: 15px;
    font-size: 18px;
}

/* Order Form Styles */
.order-form-container {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    max-width: 800px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark);
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 15px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

.btn {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 12px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    width: 100%;
    text-align: center;
    font-weight: 600;
}

.btn:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

.btn-submit {
    background: var(--success);
    display: block;
    width: 100%;
    margin-top: 30px;
}

.btn-submit:hover {
    background: #219653;
}

.order-summary {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-top: 30px;
}

.order-summary h3 {
    margin-bottom: 15px;
    color: var(--dark);
}

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

.order-summary-total {
    font-weight: bold;
    font-size: 18px;
    color: var(--primary);
    margin-top: 10px;
    padding-top: 10px;
    border-top: 2px solid var(--accent);
}

.success-message {
    display: none;
    background: var(--success);
    color: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    margin-top: 30px;
}

.success-message.active {
    display: block;
}

/* About Us Styles */
.about-content {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    line-height: 1.6;
}

.about-content h3 {
    color: var(--primary);
    margin: 20px 0 10px;
}

.about-content p {
    margin-bottom: 15px;
}

.contact-info {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.contact-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    flex: 1;
    min-width: 200px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.contact-card h4 {
    color: var(--primary);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-card a {
    color: var(--secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-card a:hover {
    color: var(--primary);
    text-decoration: underline;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 4px;
    padding: 10px 15px;
    font-size: 16px;
    cursor: pointer;
}

/* Responsive Design */
@media (max-width: 992px) {
    .sidebar {
        transform: translateX(-100%);
    }
    
    .sidebar.active {
        transform: translateX(0);
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .menu-toggle {
        display: block;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }
}

@media (max-width: 576px) {
    .main-content {
        padding: 20px;
    }
    
    .content-header {
        font-size: 24px;
        margin-top: 60px;
    }
    
    .logo-img {
        width: 150px;
    }
    
    .contact-card {
        min-width: 100%;
    }
}