/*
Theme Name: NGC
Theme URI: https://themarketingfreak.com/
Author: The Marketing Freak
Author URI: https://themarketingfreak.com/
Description: NGC global theme for expert accountancy & finance services in India.
Requires at least: 6.7
Tested up to: 6.8
Requires PHP: 7.2
Version: 1.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ngc
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, business, finance
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
1. Base Styles
2. Navigation
3. Buttons
4. Forms
5. Blocks
6. Utility Classes
--------------------------------------------------------------*/

/*--------------------------------------------------------------
1. Base Styles
--------------------------------------------------------------*/
:root {
	--wp--preset--color--primary: #243F6B;
	--wp--preset--color--primary-dark: #1E355B;
	--wp--preset--color--secondary: #3F7FBF;
	--wp--preset--color--secondary-dark: #356FA8;
	--wp--preset--color--accent: #6FA8DC;
	--wp--preset--color--bg-light: #F8FAFC;
	--wp--preset--font-family--inter: 'Inter', sans-serif;
	--wp--preset--font-family--poppins: 'Poppins', sans-serif;
}

body {
	font-family: var(--wp--preset--font-family--inter);
	background-color: var(--wp--preset--color--bg-light);
	color: #1e293b;
	margin: 0;
	padding: 0;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--wp--preset--font-family--poppins);
	font-weight: 600;
	line-height: 1.2;
}

a {
	color: var(--wp--preset--color--primary);
	text-decoration: none;
	transition: color 0.2s ease;
}

a:hover {
	color: var(--wp--preset--color--secondary);
}

/*--------------------------------------------------------------
2. Navigation
--------------------------------------------------------------*/
.site-header {
	position: sticky;
	top: 0;
	z-index: 1000;
}

.glass-nav {
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(10px);
}

/*--------------------------------------------------------------
3. Buttons
--------------------------------------------------------------*/
.wp-block-button__link {
	font-weight: 600;
	border-radius: 0.5rem;
	transition: all 0.2s ease;
}

.wp-block-button__link:hover {
	opacity: 0.9;
	transform: translateY(-1px);
}

/*--------------------------------------------------------------
4. Forms
--------------------------------------------------------------*/
input[type="email"],
input[type="text"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea {
	border: 1px solid #e2e8f0;
	border-radius: 0.5rem;
	padding: 0.75rem 1rem;
	font-family: var(--wp--preset--font-family--inter);
}

input[type="email"]:focus,
input[type="text"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
textarea:focus {
	outline: none;
	border-color: var(--wp--preset--color--secondary);
	box-shadow: 0 0 0 3px rgba(63, 127, 191, 0.1);
}

/*--------------------------------------------------------------
5. Blocks
--------------------------------------------------------------*/
.wp-block-cover,
.wp-block-group {
	background-size: cover;
	background-position: center;
}

.wp-block-separator {
	width: 80px;
	height: 2px;
	background-color: var(--wp--preset--color--secondary);
	margin: 2rem auto;
}

.wp-block-quote {
	border-left: 4px solid var(--wp--preset--color--secondary);
	padding-left: 1.5rem;
	font-style: italic;
}

/*--------------------------------------------------------------
6. Utility Classes
--------------------------------------------------------------*/
.hide-scrollbar::-webkit-scrollbar {
	display: none;
}

.hide-scrollbar {
	-ms-overflow-style: none;
	scrollbar-width: none;
}

/* Focus styles */
:where(.wp-site-blocks *:focus) {
	outline-width: 2px;
	outline-style: solid;
	outline-color: var(--wp--preset--color--secondary);
}

/* Progressive enhancement to reduce widows and orphans */
h1, h2, h3, h4, h5, h6, blockquote, caption, figcaption, p {
	text-wrap: pretty;
}

/* Link styles */
a {
	text-decoration-thickness: 1px !important;
	text-underline-offset: 0.1em;
}

/* Remove outline offset from the submenus */
.wp-block-navigation .wp-block-navigation-item ul.wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	outline-offset: 0;
}

/* Increase the bottom margin on submenus */
.wp-block-navigation .wp-block-navigation-submenu .wp-block-navigation-item:not(:last-child) {
	margin-bottom: 3px;
}

/* Increase the outline offset on the parent menu items */
.wp-block-navigation .wp-block-navigation-item .wp-block-navigation-item__content {
	outline-offset: 4px;
}

/* Change the position of the more block */
.more-link {
	display: block;
}

/* Smooth scrolling */
html {
	scroll-behavior: smooth;
}

