/*
Theme Name: Adautin Wealth
Theme URI: https://www.adautinwealth.com
Author: BitBiz Nigeria Limited
Author URI: https://www.bitbiz.ng
Description: A premium custom WordPress theme developed for Adautin Wealth Management Inc., featuring modern financial services design, responsive layouts, service-focused sections, and optimized performance for wealth management, retirement planning, and financial advisory businesses.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: adautinwealth
Domain Path: /languages
Tags: finance, financial-services, wealth-management, retirement-planning, business, corporate, custom-theme, responsive-layout, custom-logo, featured-images, full-width-template, translation-ready, blog, professional-services
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------

--------------------------------------------------------------*/

:root {
    --primary: #0b1f3a;
    --secondary: #c59b45;
    --dark: #071426;
    --text: #334155;
    --muted: #64748b;
    --light: #f8fafc;
    --white: #ffffff;
    --border: #e2e8f0;
    --transition: all 0.3s ease;
    --container-width: 1200px;
}

* {
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
    font-size: 16px;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

button,
input,
textarea,
select {
    font: inherit;
}

.container {
    width: min(100% - 32px, var(--container-width));
    margin-inline: auto;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0 0 16px;
    color: var(--primary);
    line-height: 1.15;
    font-weight: 750;
    letter-spacing: -0.03em;
}

h1 {
    font-size: clamp(2.6rem, 6vw, 5.5rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
}

h3 {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
}

p {
    margin: 0 0 18px;
}

.screen-reader-text {
    position: absolute;
    left: -9999px;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/

.site-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.site-logo-text {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.04em;
}

.custom-logo {
    max-height: 62px;
    width: auto;
}

.primary-navigation {
    flex: 1;
    display: flex;
    justify-content: center;
}

.primary-menu,
.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.primary-menu {
    display: flex;
    align-items: center;
    gap: 20px;
}

.primary-menu a {
    color: var(--primary);
    font-size: 0.88rem;
    font-weight: 600;
}

.primary-menu a:hover {
    color: var(--secondary);
}

.header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    border-radius: 999px;
    background: var(--primary);
    color: var(--white);
    font-weight: 700;
    font-size: 0.92rem;
    box-shadow: 0 12px 28px rgba(11, 31, 58, 0.18);
}

.header-cta:hover {
    background: var(--secondary);
    color: var(--dark);
}

.mobile-menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--white);
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    background: var(--primary);
}

/*--------------------------------------------------------------
# Main / Elementor Compatibility
--------------------------------------------------------------*/

.site-main {
    min-height: 60vh;
}

.page-content,
.front-page-main {
    width: 100%;
}

.elementor-page .site-main,
.elementor-template-full-width .site-main,
.elementor-template-canvas .site-main {
    padding: 0;
}

.entry-content>* {
    max-width: var(--container-width);
    margin-inline: auto;
}

.elementor-section,
.elementor-container,
.elementor-widget-wrap {
    transition: var(--transition);
}

/*--------------------------------------------------------------
# Buttons / Utility Classes
--------------------------------------------------------------*/

.aw-btn,
.wp-block-button__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 28px;
    border-radius: 999px;
    background: var(--primary);
    color: var(--white);
    font-weight: 700;
    border: 0;
}

.aw-btn:hover,
.wp-block-button__link:hover {
    background: var(--secondary);
    color: var(--dark);
}

.aw-btn-outline {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
}

.aw-section {
    padding: 96px 0;
}

.aw-section-light {
    background: var(--light);
}

.aw-eyebrow {
    display: inline-flex;
    margin-bottom: 14px;
    color: var(--secondary);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.78rem;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/

.site-footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.78);
    padding-top: 72px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 48px;
    padding-bottom: 56px;
}

.footer-brand h3 {
    color: var(--white);
}

.footer-brand p {
    max-width: 520px;
}

.footer-menu {
    display: grid;
    gap: 12px;
}

.footer-menu a:hover {
    color: var(--secondary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 22px 0;
    font-size: 0.92rem;
}

/*--------------------------------------------------------------
# Blog / Default Archive
--------------------------------------------------------------*/

.archive-main {
    padding: 80px 0;
}

.post-list {
    display: grid;
    gap: 28px;
}

.post-card {
    padding: 32px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: var(--white);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
}

.post-card h2 {
    font-size: 1.5rem;
}

.post-card h2 a:hover {
    color: var(--secondary);
}

/*--------------------------------------------------------------
# Responsive
--------------------------------------------------------------*/

@media (max-width: 992px) {
    .header-inner {
        height: 76px;
    }

    .primary-navigation {
        position: fixed;
        top: 76px;
        left: 0;
        right: 0;
        display: none;
        background: var(--white);
        border-bottom: 1px solid var(--border);
        padding: 24px;
    }

    .primary-navigation.is-open {
        display: block;
    }

    .primary-menu {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }

    .header-cta {
        display: none;
    }

    .mobile-menu-toggle {
        display: inline-block;
    }

    .footer-inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .container {
        width: min(100% - 24px, var(--container-width));
    }

    .aw-section {
        padding: 64px 0;
    }

    .site-footer {
        padding-top: 56px;
    }
}

/*--------------------------------------------------------------
# Page Templates
--------------------------------------------------------------*/

.full-width-template,
.canvas-template {
    width: 100%;
    padding: 0;
    margin: 0;
}

.adautinwealth-canvas {
    background: var(--white);
}

.adautinwealth-canvas .site-main {
    min-height: 100vh;
}

/*--------------------------------------------------------------
# Shortcode Cards
--------------------------------------------------------------*/

.aw-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.aw-card {
    position: relative;
    padding: 34px;
    border: 1px solid var(--border);
    border-radius: 28px;
    background: var(--white);
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.06);
    transition: var(--transition);
    overflow: hidden;
}

.aw-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(197, 155, 69, 0.12),
            rgba(11, 31, 58, 0));
    opacity: 0;
    transition: var(--transition);
}

.aw-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.12);
}

.aw-card:hover::before {
    opacity: 1;
}

.aw-card>* {
    position: relative;
    z-index: 1;
}

.aw-card-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    margin-bottom: 24px;
    border-radius: 18px;
    background: rgba(197, 155, 69, 0.12);
    color: var(--secondary);
    font-size: 28px;
}

.aw-card h3 {
    margin-bottom: 12px;
    font-size: 1.35rem;
}

.aw-card p {
    color: var(--muted);
}

.aw-card-link {
    display: inline-flex;
    align-items: center;
    margin-top: 14px;
    color: var(--primary);
    font-weight: 800;
}

.aw-card-link:hover {
    color: var(--secondary);
}

/* Events */

.aw-event-date {
    display: inline-flex;
    margin-bottom: 18px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(11, 31, 58, 0.08);
    color: var(--primary);
    font-size: 0.86rem;
    font-weight: 800;
}

.aw-event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
    color: var(--muted);
    font-size: 0.92rem;
}

.aw-event-meta span {
    padding: 7px 12px;
    border-radius: 999px;
    background: var(--light);
}

/* Testimonials */

.aw-rating {
    margin-bottom: 18px;
    color: var(--secondary);
    letter-spacing: 2px;
}

.aw-testimonial-text {
    color: var(--text);
    font-size: 1rem;
}

.aw-testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 26px;
}

.aw-testimonial-author img {
    width: 54px;
    height: 54px;
    border-radius: 999px;
    object-fit: cover;
}

.aw-testimonial-author strong {
    display: block;
    color: var(--primary);
}

.aw-testimonial-author span {
    display: block;
    color: var(--muted);
    font-size: 0.9rem;
}

/* Team */

.aw-team-card {
    padding: 0;
}

.aw-team-image {
    aspect-ratio: 4 / 4.6;
    overflow: hidden;
    background: var(--light);
}

.aw-team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.aw-team-body {
    padding: 28px;
}

.aw-team-position {
    margin-bottom: 6px;
    color: var(--secondary);
    font-weight: 800;
}

.aw-team-license {
    margin-bottom: 16px;
    color: var(--muted);
    font-size: 0.92rem;
}

.aw-team-excerpt {
    color: var(--muted);
}

/* Responsive Cards */

@media (max-width: 992px) {
    .aw-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .aw-card-grid {
        grid-template-columns: 1fr;
    }

    .aw-card {
        padding: 28px;
        border-radius: 22px;
    }

    .aw-team-card {
        padding: 0;
    }
}

/*--------------------------------------------------------------
# Single CPT Templates
--------------------------------------------------------------*/

.aw-single-hero {
    position: relative;
    padding: 120px 0;
    background:
        linear-gradient(135deg, rgba(7, 20, 38, 0.98), rgba(11, 31, 58, 0.94)),
        var(--dark);
    color: rgba(255, 255, 255, 0.82);
    overflow: hidden;
}

.aw-single-hero h1 {
    max-width: 860px;
    color: var(--white);
}

.aw-single-hero p {
    max-width: 720px;
    font-size: 1.12rem;
}

.aw-single-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 20px 0 24px;
}

.aw-single-meta span {
    display: inline-flex;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.09);
    color: var(--white);
    font-weight: 700;
    font-size: 0.92rem;
}

.aw-single-content {
    max-width: 900px;
}

.aw-single-content h2,
.aw-single-content h3 {
    margin-top: 34px;
}

.aw-single-content p,
.aw-single-content li {
    font-size: 1.05rem;
}

.aw-lead {
    color: var(--secondary);
    font-weight: 800;
}

.aw-team-single-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 56px;
}

.aw-team-single-image {
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 40px 90px rgba(0, 0, 0, 0.42);
}

.aw-team-single-image img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 768px) {
    .aw-single-hero {
        padding: 82px 0;
    }

    .aw-team-single-grid {
        grid-template-columns: 1fr;
    }
}

/*--------------------------------------------------------------
# Archive CPT Templates
--------------------------------------------------------------*/

.aw-archive-hero {
    padding: 110px 0;
    background:
        linear-gradient(135deg, rgba(7, 20, 38, 0.98), rgba(11, 31, 58, 0.94)),
        var(--dark);
    color: rgba(255, 255, 255, 0.82);
}

.aw-archive-hero h1 {
    max-width: 850px;
    color: var(--white);
}

.aw-archive-hero p {
    max-width: 740px;
    font-size: 1.12rem;
}

@media (max-width: 768px) {
    .aw-archive-hero {
        padding: 80px 0;
    }
}

.footer-contact,
.footer-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 18px;
}

.footer-contact a,
.footer-socials a {
    color: rgba(255, 255, 255, 0.78);
    font-weight: 600;
}

.footer-contact a:hover,
.footer-socials a:hover {
    color: var(--secondary);
}

/*--------------------------------------------------------------
# Search / Archive / 404
--------------------------------------------------------------*/

.aw-error-section {
    min-height: 70vh;
    display: grid;
    align-items: center;
    padding: 120px 0;
    background:
        linear-gradient(135deg, rgba(7, 20, 38, 0.98), rgba(11, 31, 58, 0.94)),
        var(--dark);
    color: rgba(255, 255, 255, 0.82);
}

.aw-error-section h1 {
    max-width: 760px;
    color: var(--white);
}

.aw-error-section p {
    max-width: 620px;
    font-size: 1.12rem;
}

.post-card-image {
    display: block;
    margin: -32px -32px 24px;
    aspect-ratio: 16 / 8;
    overflow: hidden;
    border-radius: 24px 24px 0 0;
    background: var(--light);
}

.post-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.aw-archive-description {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.05rem;
}

/*--------------------------------------------------------------
# Blog Single
--------------------------------------------------------------*/

.aw-post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 18px 0 24px;
}

.aw-post-meta span {
    display: inline-flex;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.09);
    color: var(--white);
    font-weight: 700;
    font-size: 0.9rem;
}

.aw-featured-image-section {
    margin-top: -70px;
    position: relative;
    z-index: 2;
}

.aw-featured-image {
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 34px 80px rgba(15, 23, 42, 0.18);
    background: var(--light);
}

.aw-featured-image img {
    width: 100%;
    display: block;
}

@media (max-width: 768px) {
    .aw-featured-image-section {
        margin-top: -36px;
    }

    .aw-featured-image {
        border-radius: 22px;
    }
}
