:root {

    --primary-orange: #f39c12;

    --hover-orange: #e67e22;

    --text-dark: #333333;

    --text-light: #666666;

    --bg-light: #f4f7f6;

    --white: #ffffff;

}

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

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

/* Header & Nav */

.header { background-color: var(--white); box-shadow: 0 2px 10px rgba(0,0,0,0.1); position: sticky; top: 0; z-index: 1000; }

.top-bar { background-color: var(--primary-orange); color: var(--white); font-size: 0.85em; text-align: center; padding: 8px; font-weight: bold; }

.nav-container { max-width: 1200px; margin: 0 auto; padding: 15px 20px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; }

.logo a { font-size: 26px; font-weight: 800; color: var(--primary-orange); text-decoration: none; letter-spacing: 1px; }

.nav-links a { text-decoration: none; color: var(--text-dark); margin: 0 15px; font-weight: 600; transition: 0.3s; }

.nav-links a:hover { color: var(--primary-orange); }

.user-actions a { color: var(--text-dark); text-decoration: none; margin-left: 15px; font-size: 1.1em; }

/* Hero Banner */

.hero-banner { height: 280px; border-radius: 10px; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--white); max-width: 1200px; box-shadow: 0 4px 15px rgba(0,0,0,0.1); }

.hero-content h1 { font-size: 2.5em; margin-bottom: 10px; text-transform: uppercase; text-shadow: 2px 2px 4px rgba(0,0,0,0.5); }

.hero-content p { font-size: 1.1em; margin-bottom: 20px; text-shadow: 1px 1px 2px rgba(0,0,0,0.5); }

/* Buttons */

.btn { background-color: var(--primary-orange); color: var(--white); padding: 10px 20px; border: none; border-radius: 5px; cursor: pointer; font-weight: bold; transition: 0.3s; text-decoration: none; display: inline-block; }

.btn:hover { background-color: var(--hover-orange); }

.hero-btn { border-radius: 30px; padding: 12px 30px; }

/* Products Grid */

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

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

.product-card { background: var(--white); border-radius: 10px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.05); transition: 0.3s; text-align: center; }

.product-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(243, 156, 18, 0.2); }

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

.product-title { font-size: 1.1em; margin-bottom: 5px; height: 50px; overflow: hidden; }

.product-price { font-size: 1.4em; font-weight: bold; color: var(--primary-orange); }

/* Features Bar */

.features-bar { display: flex; justify-content: space-around; flex-wrap: wrap; background: var(--white); padding: 30px 0; margin-top: 40px; margin-bottom: 40px; border-radius: 8px; box-shadow: 0 4px 10px rgba(0,0,0,0.05); }

.feature-box { text-align: center; padding: 10px; flex: 1; min-width: 150px; }

.feature-box i { font-size: 2.5em; color: var(--primary-orange); margin-bottom: 10px; }

/* Forms & Misc */

.form-control { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 5px; outline: none; }

.form-control:focus { border-color: var(--primary-orange); }

.footer { background: #222; color: #ccc; text-align: center; padding: 30px 20px; margin-top: 40px; }

.footer a { color: var(--primary-orange); text-decoration: none; margin: 0 10px; }

/* Mobile View Fixes */

@media (max-width: 768px) {

    .nav-container { flex-direction: column; gap: 10px; padding: 10px; }

    .nav-links { display: flex; flex-direction: row; flex-wrap: nowrap; overflow-x: auto; width: 100%; gap: 15px; padding-bottom: 10px; white-space: nowrap; -webkit-overflow-scrolling: touch; }

    .nav-links::-webkit-scrollbar { height: 4px; }

    .nav-links::-webkit-scrollbar-thumb { background: var(--primary-orange); border-radius: 10px; }

    .user-actions { width: 100%; display: flex; justify-content: space-around; padding-top: 10px; border-top: 1px solid #eee; }

    

    .hero-banner { height: 180px; }

    .hero-content h1 { font-size: 1.5em; }

    

    /* 2 Products in 1 Row */

    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }

    .product-card { padding-bottom: 10px; }

    .product-img { height: 140px; }

    .product-title { font-size: 0.9em; height: 38px; }

    .product-price { font-size: 1.1em; margin-bottom: 10px; }

    .btn { padding: 8px; font-size: 0.85em; }

}

