/*
Theme Name:   Astra Child
Theme URI:    https://wpastra.com/
Description:  A child theme for the Astra WordPress theme.
Author:       Your Name
Author URI:   https://yourwebsite.com/
Template:     astra
Version:      1.0.0
License:      GNU General Public License v2 or later
License URI:  https://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  astra-child
*/

/* ==========================================================================
   ASTRA CHILD THEME — Custom Styles
   All styles here will override or extend the parent Astra theme.
   ==========================================================================

   TABLE OF CONTENTS:
   ------------------
   1. CSS Variables / Design Tokens
   2. Global / Base Overrides
   3. Typography
   4. Header
   5. Navigation
   6. Hero / Page Banner
   7. Content Area
   8. Sidebar
   9. Footer
   10. Buttons
   11. Forms
   12. Utility Classes
   ========================================================================== */


/* --------------------------------------------------------------------------
   1. CSS Variables / Design Tokens
   -------------------------------------------------------------------------- */

:root {
	--color-primary:        #0a6cff;
	--color-primary-dark:   #0050cc;
	--color-secondary:      #1a1a2e;
	--color-accent:         #ff5c35;
	--color-text:           #2d2d2d;
	--color-text-light:     #666666;
	--color-bg:             #ffffff;
	--color-bg-alt:         #f6f8fb;
	--color-border:         #e5e8ed;

	--font-heading:         inherit; /* Override in section 3 if needed */
	--font-body:            inherit;

	--radius-sm:            4px;
	--radius-md:            8px;
	--radius-lg:            16px;

	--shadow-sm:            0 1px 4px rgba(0, 0, 0, 0.06);
	--shadow-md:            0 4px 16px rgba(0, 0, 0, 0.10);
	--shadow-lg:            0 8px 32px rgba(0, 0, 0, 0.14);

	--transition:           all 0.25s ease;
}


/* --------------------------------------------------------------------------
   2. Global / Base Overrides
   -------------------------------------------------------------------------- */

body {
	color: var(--color-text);
	background-color: var(--color-bg);
}

a {
	color: var(--color-primary);
	transition: var(--transition);
}

a:hover {
	color: var(--color-primary-dark);
	text-decoration: underline;
}

img {
	max-width: 100%;
	height: auto;
}


/* --------------------------------------------------------------------------
   3. Typography
   -------------------------------------------------------------------------- */

/* Uncomment and adjust to load a Google Font:
   @import url('https://fonts.googleapis.com/css2?family=YourFont:wght@400;600;700&display=swap');
*/

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-heading);
	color: var(--color-secondary);
	line-height: 1.25;
}

p {
	line-height: 1.7;
	margin-bottom: 1.25em;
}


/* --------------------------------------------------------------------------
   4. Header
   -------------------------------------------------------------------------- */

.site-header,
.ast-header-wrap {
	/* Example: add a bottom border to the header */
	border-bottom: 1px solid var(--color-border);
}


/* --------------------------------------------------------------------------
   5. Navigation
   -------------------------------------------------------------------------- */

.main-header-menu .menu-item > a {
	transition: var(--transition);
}

.main-header-menu .menu-item > a:hover,
.main-header-menu .current-menu-item > a {
	color: var(--color-primary);
}


/* --------------------------------------------------------------------------
   6. Hero / Page Banner
   -------------------------------------------------------------------------- */

.ast-hero-section {
	/* Placeholder — add your hero styles here */
}


/* --------------------------------------------------------------------------
   7. Content Area
   -------------------------------------------------------------------------- */

.site-content {
	padding-top: 2rem;
	padding-bottom: 2rem;
}

.entry-content > * + * {
	margin-top: 1.5em;
}


/* --------------------------------------------------------------------------
   8. Sidebar
   -------------------------------------------------------------------------- */

.widget {
	margin-bottom: 2rem;
}

.widget-title {
	font-size: 1rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	margin-bottom: 1rem;
	padding-bottom: 0.5rem;
	border-bottom: 2px solid var(--color-primary);
}


/* --------------------------------------------------------------------------
   9. Footer
   -------------------------------------------------------------------------- */

.site-footer {
	background-color: var(--color-secondary);
	color: #ccc;
}

.site-footer a {
	color: #fff;
}

.site-footer a:hover {
	color: var(--color-accent);
}


/* --------------------------------------------------------------------------
   10. Buttons
   -------------------------------------------------------------------------- */

.ast-btn,
.button,
button,
input[type="submit"] {
	background-color: var(--color-primary);
	color: #fff;
	border: none;
	border-radius: var(--radius-md);
	padding: 0.65em 1.5em;
	font-weight: 600;
	cursor: pointer;
	transition: var(--transition);
}

.ast-btn:hover,
.button:hover,
button:hover,
input[type="submit"]:hover {
	background-color: var(--color-primary-dark);
	color: #fff;
	transform: translateY(-1px);
	box-shadow: var(--shadow-md);
}


/* --------------------------------------------------------------------------
   11. Forms
   -------------------------------------------------------------------------- */

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea,
select {
	border: 1px solid var(--color-border);
	border-radius: var(--radius-sm);
	padding: 0.6em 0.9em;
	width: 100%;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus,
select:focus {
	outline: none;
	border-color: var(--color-primary);
	box-shadow: 0 0 0 3px rgba(10, 108, 255, 0.15);
}


/* --------------------------------------------------------------------------
   12. Utility Classes
   -------------------------------------------------------------------------- */

.text-center  { text-align: center; }
.text-right   { text-align: right; }
.mt-0         { margin-top: 0 !important; }
.mb-0         { margin-bottom: 0 !important; }
.visually-hidden {
	position: absolute;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden;
	clip: rect(0,0,0,0);
	white-space: nowrap;
	border: 0;
}
