/*
Theme Name: MoolMed
Author: Ashish Pal Singh
Description: This is a custom theme created for my WordPress website.
Version: 1.0
*/

/*
 * This is the main stylesheet for your custom theme.
 * WordPress requires this file for your theme to be recognized.
 * You can add all your CSS rules here to style your website.
*/

body {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	line-height: 1.6;
	color: #E5E7EB; /* Light Gray for text */
	background-color: #0D1117; /* Almost black background */
	margin: 0;
	padding: 0;
}

/* --- Layout --- */
.content-area {
	/* This will apply to non-front-page content to give it a nice container */
}

.site-content .container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px 40px;
}

.site-content-inner {
	padding: 0 40px;
}

/* ============================================
   HEADER
============================================ */
.site-header {
	position: fixed;
	top: 0; left: 0; right: 0;
	z-index: 9999;
	background: rgba(13, 13, 13, 0.92);
	backdrop-filter: blur(24px);
	-webkit-backdrop-filter: blur(24px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.07);
	transition: background 0.3s ease, box-shadow 0.3s ease;
}
.site-header.scrolled {
	background: rgba(8, 8, 8, 0.97);
	box-shadow: 0 1px 40px rgba(0, 0, 0, 0.6);
}
.header-inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 40px;
	height: 70px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
}

/* --- Logo --- */
.header-logo a {
	display: flex;
	align-items: center;
	text-decoration: none;
}
.header-logo .custom-logo {
	height: 36px;
	width: auto;
	display: block;
}

/* --- Center Nav --- */
.header-nav {
	flex: 1;
	display: flex;
	justify-content: center;
}
.header-nav ul {
	display: flex;
	align-items: center;
	gap: 2px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.header-nav ul li a {
	color: #9CA3AF;
	text-decoration: none;
	font-size: 0.875rem;
	font-weight: 500;
	padding: 7px 14px;
	border-radius: 8px;
	transition: color 0.2s ease, background 0.2s ease;
	white-space: nowrap;
}
.header-nav ul li a:hover {
	color: #ffffff;
	background: rgba(255, 255, 255, 0.07);
}
.header-nav ul li.current-menu-item > a {
	color: #e8de73;
	background: rgba(232, 222, 115, 0.08);
}

/* --- Right Actions --- */
.header-actions {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-shrink: 0;
}

/* --- Cart Icon --- */
.header-cart {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 10px;
	color: #9CA3AF;
	text-decoration: none;
	transition: color 0.2s ease, background 0.2s ease;
}
.header-cart:hover {
	color: #e8de73;
	background: rgba(232, 222, 115, 0.1);
}
.cart-badge {
	position: absolute;
	top: 4px;
	right: 4px;
	background: #e8de73;
	color: #111;
	font-size: 0.6rem;
	font-weight: 800;
	min-width: 15px;
	height: 15px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
}

/* --- User Dropdown Trigger --- */
.user-dropdown {
	position: relative;
}
.user-trigger {
	display: flex;
	align-items: center;
	gap: 9px;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 50px;
	padding: 5px 12px 5px 5px;
	cursor: pointer;
	transition: background 0.2s ease, border-color 0.2s ease;
	color: #E5E7EB;
	outline: none;
}
.user-trigger:hover {
	background: rgba(255, 255, 255, 0.09);
	border-color: rgba(232, 222, 115, 0.35);
}
.user-avatar {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: linear-gradient(135deg, #e8de73 0%, #b38c5b 100%);
	color: #111;
	font-weight: 800;
	font-size: 0.78rem;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	letter-spacing: 0;
}
.user-name {
	font-size: 0.85rem;
	font-weight: 600;
	color: #E5E7EB;
	max-width: 100px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.chevron {
	color: #6B7280;
	transition: transform 0.25s ease;
	flex-shrink: 0;
}
.user-dropdown.open .chevron {
	transform: rotate(180deg);
}

/* --- Dropdown Panel --- */
.dropdown-menu {
	display: none;
	position: absolute;
	top: calc(100% + 12px);
	right: 0;
	width: 248px;
	background: #161616;
	border: 1px solid rgba(255, 255, 255, 0.09);
	border-radius: 16px;
	padding: 6px;
	box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255,255,255,0.03);
	z-index: 99999;
}
.dropdown-menu.open {
	display: block;
	animation: dropFade 0.18s ease;
}
@keyframes dropFade {
	from { opacity: 0; transform: translateY(-6px) scale(0.98); }
	to   { opacity: 1; transform: translateY(0) scale(1); }
}
.dropdown-header {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 14px 10px;
}
.dropdown-avatar {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: linear-gradient(135deg, #e8de73 0%, #b38c5b 100%);
	color: #111;
	font-weight: 800;
	font-size: 1.05rem;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.dropdown-name {
	font-size: 0.875rem;
	font-weight: 700;
	color: #fff;
	line-height: 1.3;
}
.dropdown-email {
	font-size: 0.72rem;
	color: #6B7280;
	margin-top: 2px;
	word-break: break-all;
}
.dropdown-divider {
	height: 1px;
	background: rgba(255, 255, 255, 0.06);
	margin: 4px 6px;
}
.dropdown-item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 9px 12px;
	border-radius: 10px;
	color: #9CA3AF;
	text-decoration: none;
	font-size: 0.85rem;
	font-weight: 500;
	transition: background 0.15s ease, color 0.15s ease;
	cursor: pointer;
}
.dropdown-item:hover {
	background: rgba(255, 255, 255, 0.07);
	color: #fff;
}
.dropdown-logout {
	color: #f87171;
}
.dropdown-logout:hover {
	background: rgba(239, 68, 68, 0.1);
	color: #f87171;
}
.badge {
	margin-left: auto;
	background: #e8de73;
	color: #111;
	font-size: 0.68rem;
	font-weight: 800;
	padding: 2px 8px;
	border-radius: 20px;
	line-height: 1.4;
}

/* --- Auth Buttons (logged out) --- */
.header-login-btn {
	color: #9CA3AF;
	text-decoration: none;
	font-size: 0.875rem;
	font-weight: 500;
	padding: 8px 16px;
	border-radius: 8px;
	transition: color 0.2s ease, background 0.2s ease;
	white-space: nowrap;
}
.header-login-btn:hover {
	color: #fff;
	background: rgba(255, 255, 255, 0.07);
}
.header-register-btn {
	background: linear-gradient(135deg, #e8de73 0%, #b38c5b 100%);
	color: #111 !important;
	text-decoration: none;
	font-size: 0.875rem;
	font-weight: 700;
	padding: 9px 22px;
	border-radius: 50px;
	transition: opacity 0.2s ease, transform 0.2s ease;
	white-space: nowrap;
	display: inline-block;
}
.header-register-btn:hover {
	opacity: 0.88;
	transform: translateY(-1px);
}

/* --- Hamburger --- */
.menu-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	background: transparent;
	border: none;
	cursor: pointer;
	padding: 6px;
	border-radius: 8px;
	transition: background 0.2s ease;
}
.menu-toggle:hover { background: rgba(255,255,255,0.07); }
.menu-toggle span {
	display: block;
	width: 20px;
	height: 2px;
	background: #E5E7EB;
	border-radius: 2px;
	transition: all 0.3s ease;
}
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- Mobile --- */
@media (max-width: 960px) {
	.header-inner { padding: 0 20px; gap: 16px; }
	.header-nav { display: none; }
	.menu-toggle { display: flex; }
	.user-name { display: none; }
	.header-nav.open {
		display: block;
		position: fixed;
		top: 70px; left: 0; right: 0; bottom: 0;
		background: rgba(10, 10, 10, 0.98);
		border-top: 1px solid rgba(255,255,255,0.07);
		padding: 24px 20px;
		overflow-y: auto;
		z-index: 9998;
	}
	.header-nav.open ul {
		flex-direction: column;
		gap: 4px;
	}
	.header-nav.open ul li a {
		display: block;
		padding: 13px 16px;
		font-size: 1rem;
		border-radius: 10px;
	}
}

/* --- Main Content --- */
.site-main {
    padding-top: unset; /* Added top padding to account for fixed header */
}

/* --- Footer --- */
.site-footer {
	background-color: #111827;
	color: #9CA3AF;
	font-size: 14px;
	padding-top: 60px;
	border-top: 1px solid #374151;
}

.footer-widgets-wrapper {
	/* Full width with padding */
	padding: 0 40px 40px;
}

.footer-widgets {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 40px;
}

.footer-widgets .widget {
	color: #E5E7EB;
}

.footer-widgets .widget-title {
	font-size: 16px;
	font-weight: bold;
	margin-bottom: 20px;
	color: #FFFFFF;
}

.footer-widgets ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.footer-widgets li {
	margin-bottom: 10px;
}

.footer-widgets a {
	color: #9CA3AF;
	text-decoration: none;
}

.footer-widgets a:hover {
	color: #FFFFFF;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 40px;
}

.footer-logo .custom-logo {
    max-height: 40px;
    margin-bottom: 15px;
}

.footer-tagline {
    font-size: 14px;
    color: #9CA3AF;
    margin-bottom: 20px;
    max-width: 300px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a .dashicons {
    font-size: 24px;
    color: #9CA3AF;
    transition: color 0.3s ease;
}

.footer-social a:hover .dashicons {
    color: #e8de73;
}

.footer-menus {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 40px;
}

.footer-menu-heading {
    font-size: 16px;
    font-weight: bold;
    color: #FFFFFF;
    margin-top: 0;
    margin-bottom: 20px;
}

.footer-menu-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu-column li {
    margin-bottom: 12px;
}

.footer-menu-column a {
    color: #9CA3AF;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-menu-column a:hover {
    color: #e8de73;
}

.site-footer .social-navigation {
	display: none; /* Hide the old social menu if it's still there */
}

/* --- WooCommerce Product Grid --- */
.woocommerce-products-container h2 {
	color: #FFFFFF;
    text-align: center;
    margin-bottom: 2em;
}

ul.products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

li.product {
    text-align: center;
    border: 1px solid #374151;
    padding: 15px;
    background: #1F2937;
}

li.product .woocommerce-loop-product__title {
	font-size: 1.1em;
	color: #E5E7EB;
	margin: 0.5em 0;
}

li.product .price {
	color: #14b8a6;
	font-size: 1.2em;
	font-weight: bold;
	margin-bottom: 1em;
	display: block;
}

li.product .button {
	background-color: #2271b1;
	color: #fff;
	padding: 8px 20px;
	border-radius: 4px;
	text-decoration: none;
	transition: background-color 0.2s ease;
}
li.product .button:hover {
	background-color: #135e96;
}

.site-info-wrapper {
	border-top: 1px solid #374151;
	padding: 20px 0;
}

.site-info {
	/* Full width with padding */
	padding: 0 40px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.social-links-menu a {
	color: #9CA3AF;
	padding: 8px;
	display: inline-block;
}

/* --- Front Page Specific Styles --- */
.front-page-content-area {
	max-width: 100%;
	padding: 0;
	margin: 0;
	background: transparent;
	border: none;
	box-shadow: none;
}

.hero-section {
	display: flex;
	align-items: center;
	min-height: 80vh;
	padding: 120px 40px 80px;
	background-color: #202020; /* Slightly lighter dark for hero */
	position: relative;
	overflow: hidden;
}

.hero-wrapper {
	display: grid;
	grid-template-columns: 1fr;
	gap: 60px;
	align-items: center;
	max-width: 1200px;
	margin: 0 auto;
	position: relative;
	z-index: 2;
}

.dashicons:before{
	color: #e8de73;
}

.hero-video-container {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 0;
}

.hero-video-container video {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.video-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5); /* Dark overlay for text readability */
	z-index: 1;
}

.hero-content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	text-align: left;
}

.hero-content h1 {
	font-size: 3.5rem;
	margin-bottom: 0.5em;
	color: #FFFFFF;
}

.hero-content .tagline {
	font-size: 1.2rem;
	color: #9CA3AF;
	margin-bottom: 2em;
}

.hero-content .button {
	    background: linear-gradient(135deg, #e8de73, #b38c5b);
	color: #FFFFFF;
	padding: 12px 30px;
	text-decoration: none;
	border-radius: 5px;
	font-weight: bold;
	transition: background-color 0.3s ease;
}

.hero-content .button:hover {
	    background: linear-gradient(135deg, #e8de73, #b38c5b);
}

.site-content-inner {
	/* Full width with padding */
	max-width: 1200px;
	margin: 2em auto;
	margin: 2em 0;
}

/* Homepage Sections */
.home-section {
	padding: 80px 40px;
	text-align: center;
}

.section-content {
	max-width: 1200px;
	margin: 0 auto;
}

.section-title {
	font-size: 2.8em;
	margin-bottom: 20px;
	color: #FFFFFF;
}

.home-section p {
	font-size: 1.1em;
	color: #9CA3AF;
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
}

/* Features Section */
.features-section {
	background-color: #202020;
}

.features-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 40px;
	margin-top: 60px;
}

.feature-item {
	background-color: #242424;
	padding: 40px;
	border-radius: 8px;
	border: 1px solid #374151;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
	transform: translateY(-10px);
	box-shadow: 0 10px 20px rgba(0,0,0,0.2);
	border-color: #e8de734d;
}

.feature-item .dashicons {
	font-size: 48px;
	width: 48px;
	height: 48px;
	color: #14b8a6; /* Teal accent color */
	margin-bottom: 15px;
}

.feature-item h3 {
	margin-top: 0;
	font-size: 1.75em;
	color: #FFFFFF;
}

/* Call to Action Section */
.cta-section {
	background-color: #111827;
	color: #fff;
}

.cta-section .section-title,
.cta-section p {
	color: #E5E7EB;
}

.cta-section h3 {
    font-size: 2em;
    margin-bottom: 20px;
    color: #FFFFFF;
}

.video-cta-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 60px;
    text-align: left;
}

.video-placeholder {
    background-color: #000;
    border: 2px dashed #374151;
    border-radius: 8px;
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-placeholder .dashicons {
    font-size: 80px;
    color: #9CA3AF;
}

.cta-section .button {
	margin-top: 30px;
    background: linear-gradient(135deg, #e8de73, #b38c5b);
    color: #111827;
    font-weight: bold;
}

/* Testimonials Section */
.testimonials-section {
    background-color: #1c1c1c;
    padding: 80px 40px;
    text-align: center;
}

.testimonials-section .section-title {
    font-size: 2.8em;
    margin-bottom: 60px;
    color: #FFFFFF;
}

.testimonials-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 30px;
}

.testimonial-item {
    background-color: #2a2a2a;
    padding: 30px;
    border-radius: 10px;
    border: 1px solid #444;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
	text-align: left;
}

.testimonial-item:hover {
    transform: translateY(-5px);
}

.testimonial-item p {
    font-style: italic;
    color: #E5E7EB;
    margin: 0 0 20px 0;
    line-height: 1.7;
    flex-grow: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
}

.testimonial-item cite {
    font-weight: 600; /* Slightly bolder */
    color: #e8de73; /* Accent color for name */
    align-self: flex-end;
    font-size: 1.1em;
	font-style: normal;
}

/* Serving States Section */
.state-tags-container {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 15px;
	margin-top: 40px;
}

.state-tag {
	background-color: #2a2a2a;
	color: #E5E7EB;
	padding: 8px 16px;
	border-radius: 20px;
	font-size: 14px;
	font-weight: 500;
	border: 1px solid #444;
}

/* Final CTA Section */
#final-cta {
    background-color: #0D1117;
}

#final-cta .button {
    margin-top: 20px;
}

/* --- Responsive Styles --- */
@media (max-width: 782px) {
	.hero-content h1 { font-size: 2.5rem; }
	.section-title { font-size: 2.2em; }
	.video-cta-wrapper { grid-template-columns: 1fr; text-align: center; }
	.cta-content { display: flex; flex-direction: column; align-items: center; }
	.footer-main { grid-template-columns: 1fr; text-align: center; }
	.footer-logo { display: flex; flex-direction: column; align-items: center; }
	.footer-social { justify-content: center; }
}
@media (max-width: 480px) {
	.hero-content h1 { font-size: 2rem; }
}

/* --- Custom Login Page --- */
.login-page-wrapper {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 100vh;
	padding: 40px 20px;
}

.login-form-container {
	background-color: #1F2937;
	padding: 40px;
	border-radius: 10px;
	border: 1px solid #374151;
	width: 100%;
	max-width: 420px;
	box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.login-form-header {
	text-align: center;
	margin-bottom: 30px;
}

.login-form-header .site-branding {
	margin-bottom: 20px;
}

.login-form-header h2 {
	margin: 0;
	font-size: 1.8em;
	color: #FFFFFF;
}

#loginform p {
	margin-bottom: 20px;
}

#loginform label {
	display: block;
	font-weight: 600;
	margin-bottom: 8px;
	color: #E5E7EB;
}

#loginform .input,
#loginform input[type="text"],
#loginform input[type="password"] {
	width: 100%;
	padding: 12px;
	background-color: #374151;
	border: 1px solid #4B5563;
	border-radius: 5px;
	color: #FFFFFF;
}

#loginform .forgetmenot label {
	display: inline-block;
	font-weight: normal;
}

#loginform .submit .button {
	width: 100%;
	padding: 12px;
	background: linear-gradient(135deg, #e8de73, #b38c5b);
	color: #111827;
	border: none;
	border-radius: 5px;
	font-size: 1.1em;
	font-weight: bold;
	cursor: pointer;
}

.login-form-footer {
	text-align: center;
	margin-top: 20px;
}

.login-form-footer a {
	color: #9CA3AF;
	text-decoration: none;
}

.login-form-footer a:hover {
	color: #e8de73;
}

.login-error {
	background-color: #f8d7da;
	color: #721c24;
	border: 1px solid #f5c6cb;
	padding: 1rem;
	margin-bottom: 1rem;
	border-radius: .25rem;
}
}

.hero-section {
	}