/*
Theme Name: ThemeCraft
Theme URI: https://themeforge.co/themes/themecraft/
Author: ThemeForge.co
Author URI: https://themeforge.co/
Description: A WordPress theme designed for selling WordPress, Etsy, Shopify, Joomla, HTML, PHP, and Ghost themes via WooCommerce. Features a clean white background with orange and blue accents from the ThemeForge logo.
Version: 1.0.0
Requires at least: 5.0
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: themecraft
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
1.0 - General Styles
2.0 - Typography
3.0 - Header
4.0 - Navigation
5.0 - Content
6.0 - Sidebar
7.0 - Footer
8.0 - WooCommerce Styles
9.0 - Responsive Styles
10.0 - Homepage Slider
11.0 - Theme Categories
12.0 - Theme Features
13.0 - Testimonials
--------------------------------------------------------------*/

/*--------------------------------------------------------------
1.0 - General Styles
--------------------------------------------------------------*/
body {
	background-color: #fff; /* White background */
	color: #333; /* Dark gray default text color */
	font-family: sans-serif; /* Basic sans-serif font */
	font-size: 16px;
	line-height: 1.5;
	margin: 0;
	padding: 0;
}

a {
	color: #007bff; /* Standard blue link color - can be adjusted to ThemeForge blue */
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px;
}

.button {
	display: inline-block;
	padding: 10px 20px;
	border-radius: 5px;
	text-align: center;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

.button-primary {
	background-color: #ff8c00; /* ThemeForge orange */
	color: #fff;
	border: none;
}

.button-primary:hover {
	background-color: #e67e00; /* Darker shade of ThemeForge orange */
}

/*--------------------------------------------------------------
2.0 - Typography
--------------------------------------------------------------*/
h1, h2, h3, h4, h5, h6 {
	color: #0056b3; /* ThemeForge blue */
	font-weight: bold;
	line-height: 1.2;
	margin-bottom: 15px;
}

h1 {
	font-size: 2.5em;
}

h2 {
	font-size: 2em;
}

h3 {
	font-size: 1.75em;
}

/*--------------------------------------------------------------
3.0 - Header
--------------------------------------------------------------*/
.site-header {
	background-color: #061121; /* ThemeForge blue header background */
	color: #fff;
	padding: 20px 0;
}

.site-header .container {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.site-branding {
	display: flex;
	align-items: center;
}

.site-logo {
	margin-right: 20px;
}

.site-logo img {
	display: block;
	max-height: 60px; /* Adjust as needed */
	width: auto;
}

.site-title {
	margin: 0;
	font-size: 2em;
}

.site-title a {
	color: #fff;
	text-decoration: none;
}

.site-description {
	color: #f0f0f0;
	font-size: 0.9em;
	margin-top: 5px;
}

/*--------------------------------------------------------------
4.0 - Navigation
--------------------------------------------------------------*/
.main-navigation ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.main-navigation li {
	display: inline;
	margin-left: 20px;
}

.main-navigation li:first-child {
	margin-left: 0;
}

.main-navigation a {
	color: #fff;
	text-decoration: none;
}

.main-navigation a:hover {
	text-decoration: underline;
}

/*--------------------------------------------------------------
5.0 - Content
--------------------------------------------------------------*/
.site-content {
	padding: 20px 0;
}

.content-area {
	float: left;
	width: 70%; /* Adjust as needed */
}

.entry-header {
	margin-bottom: 20px;
}

.entry-title {
	font-size: 2em;
	margin-bottom: 10px;
}

.entry-content {
	margin-bottom: 30px;
}

/*--------------------------------------------------------------
6.0 - Sidebar
--------------------------------------------------------------*/
.sidebar {
	float: right;
	width: 25%; /* Adjust as needed */
	padding: 20px;
	background-color: #f8f8f8; /* Light gray sidebar background */
}

/*--------------------------------------------------------------
7.0 - Footer
--------------------------------------------------------------*/
.site-footer {
	background-color: #061121; /* ThemeForge blue footer background */
	color: #f8f8f8;
	padding: 20px 0;
	text-align: center;
	clear: both; /* Ensure footer clears floated content */
}

.site-footer .container {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.site-info {
	font-size: 0.9em;
	margin-bottom: 5px;
}

.powered-by {
	font-size: 0.8em;
}

.powered-by a {
	color: #fff;
	text-decoration: underline;
}

/*--------------------------------------------------------------
8.0 - WooCommerce Styles
--------------------------------------------------------------*/
/* Basic WooCommerce adjustments - more specific styles will be needed */
.woocommerce ul.products li.product a img {
	width: 100%; /* Make product images responsive within their container */
	height: auto;
}

.woocommerce div.product .woocommerce-product-gallery {
	margin-bottom: 20px;
}

.woocommerce div.product .summary .price {
	color: #ff8c00; /* ThemeForge orange for product price */
	font-size: 1.5em;
	font-weight: bold;
}

.woocommerce div.product .summary .cart .button {
	background-color: #ff8c00; /* ThemeForge orange for add to cart button */
	color: #fff !important; /* Override WooCommerce default link color */
	border: none;
}

.woocommerce div.product .summary .cart .button:hover {
	background-color: #e67e00;
}

/*--------------------------------------------------------------
9.0 - Responsive Styles
--------------------------------------------------------------*/
@media (max-width: 768px) {
	.container {
		padding: 15px;
	}

	.content-area,
	.sidebar {
		float: none;
		width: 100%;
		margin-bottom: 20px;
	}

	.site-header .container {
		flex-direction: column;
		align-items: flex-start;
	}

	.site-branding {
		margin-bottom: 10px;
	}

	.main-navigation li {
		margin-left: 10px;
	}
}

/*--------------------------------------------------------------
10.0 - Homepage Slider
--------------------------------------------------------------*/
.homepage-slider {
	padding: 40px 0;
	background-color: #f8f8f8; /* Optional background for the slider section */
}

.homepage-slider .container {
	max-width: 960px; /* Adjust as needed */
	margin: 0 auto;
}

.slider-wrapper {
	overflow-x: auto; /* Basic horizontal scrolling for slides */
	white-space: nowrap; /* Keep slides in a row */
}

.slide {
	display: inline-block;
	margin-right: 20px;
	margin-bottom: 0; /* Reset bottom margin */
}

.slide:last-child {
	margin-right: 0;
}

.slide img {
	display: block;
	max-width: 100%;
	height: auto;
}

/*--------------------------------------------------------------
11.0 - Theme Categories
--------------------------------------------------------------*/
.theme-categories {
	padding: 40px 0;
}

.theme-categories .container {
	max-width: 960px;
	margin: 0 auto;
}

.theme-categories h2 {
	text-align: center;
	margin-bottom: 30px;
}

.category-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 20px;
}

.category-item {
	background-color: #f8f8f8;
	padding: 20px;
	border-radius: 5px;
	text-align: center;
}

.category-item h3 {
	margin-top: 0;
	margin-bottom: 10px;
	color: #333;
}

.category-item p {
	color: #666;
	margin-bottom: 15px;
}

/*--------------------------------------------------------------
12.0 - Theme Features
--------------------------------------------------------------*/
.theme-features {
	padding: 40px 0;
	background-color: #f0f0f0;
}

.theme-features .container {
	max-width: 960px;
	margin: 0 auto;
}

.theme-features h2 {
	text-align: center;
	margin-bottom: 30px;
}

.feature-list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 20px;
}

.feature-item {
	background-color: #fff;
	padding: 20px;
	border-radius: 5px;
	text-align: center;
}

.feature-item h3 {
	margin-top: 0;
	margin-bottom: 10px;
	color: #333;
}

.feature-item p {
	color: #666;
	margin-bottom: 0;
}

/*--------------------------------------------------------------
13.0 - Testimonials
--------------------------------------------------------------*/
.testimonials {
	padding: 40px 0;
}

.testimonials .container {
	max-width: 768px;
	margin: 0 auto;
	text-align: center;
}

.testimonials h2 {
	margin-bottom: 20px;
}

.testimonials p {
	font-style: italic;
	color: #777;
	margin-bottom: 15px;
}

.slider-wrapper {
    display: flex;
    justify-content: center; /* Centers the slider */
    align-items: center;
    max-width: 100%;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Two columns */
    gap: 20px; /* Space between items */
}

.category-item {
    background: #fff;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-radius: 8px;
    text-align: center;
}
