/*
Theme Name: SaltBricks Theme
Theme URI: https://example.com/
Author: ChatGPT
Author URI: https://example.com/
Description: Custom WordPress theme for a Himalayan salt bricks and tiles business. Inspired by himalayansaltbrick.us and designed for local installation. Includes a striking hero section, category icons, product grids, deals banners, and a comprehensive footer.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: saltbricks-theme
*/

/* Reset some basic elements */
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  color: #333;
}

a {
  color: #e57024;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

header {
  background: #f7f1e3;
}

.top-bar {
  background: #eac694;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  display: flex;
  justify-content: space-between;
}

.top-bar .contact-info span {
  margin-right: 1rem;
}

.main-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
}

.site-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #e57024;
}

.navigation ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 1rem;
}

.navigation li {
  font-size: 1rem;
}

/* Hero section */
.hero {
  background-image: url('assets/hero.jpg');
  background-size: cover;
  background-position: center;
  color: #fff;
  text-align: left;
  padding: 4rem 1.5rem;
  position: relative;
}

.hero-overlay {
  background: rgba(0, 0, 0, 0.5);
  padding: 2rem;
  max-width: 600px;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.btn-primary {
  background: #e57024;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary:hover {
  background: #cc5a15;
}

/* Categories */
.categories {
  padding: 2rem 1rem;
  text-align: center;
}

.categories h2 {
  margin-bottom: 1.5rem;
  font-size: 2rem;
  color: #e57024;
}

.category-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.category-item {
  width: 140px;
  text-align: center;
}

.category-circle {
  width: 100px;
  height: 100px;
  margin: 0 auto 0.5rem;
  border-radius: 50%;
  background: #fbeee0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #e57024;
  border: 2px solid #e57024;
}

.category-item span {
  display: block;
  font-size: 0.9rem;
  color: #333;
}

/* Products grid */
.products {
  padding: 2rem 1rem;
}

.products h2 {
  font-size: 2rem;
  color: #e57024;
  text-align: center;
  margin-bottom: 1.5rem;
}

.product-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.product-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 4px;
  width: 200px;
  padding: 1rem;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.product-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 0.5rem;
}

.product-card .price {
  color: #e57024;
  font-weight: bold;
  margin-top: 0.5rem;
}

/* Deals banner */
.deals {
  background: #f7f1e3;
  padding: 2rem 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.deal-item {
  flex: 1 1 280px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 4px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.deal-item h3 {
  margin-bottom: 0.5rem;
  color: #e57024;
}

.deal-item p {
  margin-bottom: 1rem;
}

/* Footer */
footer {
  background: #3d2e17;
  color: #f7f1e3;
  padding: 2rem 1rem;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.footer-column {
  flex: 1 1 220px;
}

.footer-column h4 {
  margin-bottom: 0.75rem;
  color: #eac694;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column li {
  margin-bottom: 0.5rem;
}

.social-icons {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.social-icons a {
  background: #e57024;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border-radius: 50%;
  font-size: 1rem;
}

.footer-bottom {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.85rem;
}