/* =============================================
   Learning Isn't Linear - Combined Styles
   ============================================= */

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    margin: 0;
    background: #f5f5f5;
    color: #333;
}

/* ==================== HEADER ==================== */
header {
    background: #222;
    padding: 8px 0;
    line-height: 1;
}

nav {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    padding: 0 20px;
    flex-wrap: wrap;
    gap: 20px;
}

.logo-container {
    transition: transform 0.3s ease, filter 0.3s ease;
}

.logo-container:hover {
    transform: scale(1.08);
    filter: brightness(1.1);
}

.logo-container img {
    height: 38px;
    width: auto;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    white-space: nowrap;
}

nav a:hover {
    color: #0077cc;
}

/* ==================== MAIN CONTENT ==================== */
main {
    padding: 40px;
    max-width: 800px;
    margin: 40px auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

h2 {
    font-size: 32px;
    margin-top: 0;
    color: #222;
    border-left: 5px solid #0077cc;
    padding-left: 15px;
}

h3 {
    color: #444;
    margin-top: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

/* ==================== BUTTONS ==================== */
.button {
    display: inline-block;
    padding: 14px 28px;
    background: #0077cc;
    color: white;
    text-decoration: none;
    margin: 15px 0;
    border-radius: 6px;
    font-weight: bold;
    transition: transform 0.2s, background 0.3s;
    border: none;
    cursor: pointer;
}

.button:hover {
    background: #005fa3;
    transform: translateY(-2px);
}

/* ==================== SHOP SPECIFIC ==================== */
.hero {
    text-align: center;
    padding: 60px 20px;
    background: white;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 10px;
}

.hero p {
    font-size: 20px;
    color: #666;
    margin-bottom: 30px;
}

.filter-container {
    max-width: 1100px;
    margin: 30px auto 0 auto;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
    justify-content: space-between;
}

.search-box {
    flex: 1;
    min-width: 250px;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
}

.filter-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-select {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    font-size: 14px;
    cursor: pointer;
}

.products-section {
    max-width: 1100px;
    margin: 40px auto 60px auto;
    padding: 0 20px;
}

.products-section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 32px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.product {
    background: white;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.product:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.1);
}

.product img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.product h3 {
    margin: 10px 0;
    font-size: 1.1rem;
}

.product .product-desc {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 10px;
    flex-grow: 1;
}

.product .price {
    font-weight: bold;
    color: #0077cc;
    margin-top: auto;
}

/* ==================== FOOTER ==================== */
footer {
    background: #222;
    color: #888;
    text-align: center;
    padding-top: 15px;
    padding-bottom: 25px;
    padding-left: 20px;
    padding-right: 20px;
    margin-top: 30px;
}

.footer-nav {
    margin-top: 8px;
    display: inline-flex;
    gap: 15px;
    justify-content: center;
}

.footer-nav a {
    color: #aaa;
    text-decoration: none;
}

.footer-nav a:hover {
    color: #0077cc;
}