/*
Theme Name: Axtec 2025
Theme URI: https://axiompl.com.au
Author: Axtec
Author URI: https://axiompl.com.au
Description: Custom WordPress theme for Axtec 2025
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: axtec-2025
Tags: custom, modern, responsive
*/

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Base Styles */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
}

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

a {
    text-decoration: none;
    color: inherit;
}

/* All Menu Links - No Underline */
.menu li a {
    text-decoration: none !important;
}

/* Header Styles */
.site-header {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.custom-logo-wrapper img {
    max-height: 60px;
    width: auto;
}

.footer-logo-wrapper img {
    display: block;
    max-height: 60px;
    width: auto;
}

.site-title a {
    color: #004853;
    font-weight: 600;
}

/* Main Navigation */
.menu-toggle {
    display: none;
}

/* Navbar Brand */
.navbar-brand {
    margin-right: 0;
}

/* Navbar Toggler (Hamburger) */
.navbar-toggler {
    border-color: #004853;
    padding: 0.5rem 0.75rem;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(108, 195, 81, 0.25);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23004853' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Nav Menu Items */
.nav-menu li {
    margin: 0;
    padding: 0;
}

.nav-menu li a {
    transition: color 0.3s ease;
    letter-spacing: 0.3px;
}

.nav-menu a:hover,
.nav-menu a:focus,
.nav-menu a:active {
    color: #6CC351;
    text-decoration: none !important;
}

.nav-menu .current-menu-item a,
.nav-menu .current_page_item a {
    color: #6CC351;
}

/* Mobile Menu Spacing */
@media (max-width: 991.98px) {
    .navbar-collapse {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }

    .navbar-nav {
        align-items: flex-start !important;
    }

    .nav-item {
        width: 100%;
    }
}

/* Main Content */
.site-main {
    min-height: calc(100vh - 400px);
    position: relative;
}

/* Global Background Patterns on Main */
.site-main::before,
.site-main::after {
    content: '';
    position: absolute;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 0;
    opacity: 0.4;
}

.site-main::before {
    top: -3rem;
    left: 0;
    width: 700px;
    height: 400px;
    background-image: url('assets/images/background-top-left.png');
    background-size: cover;
}

.site-main::after {
    bottom: -4rem;
    right: 0;
    width: 700px;
    height: 400px;
    background-image: url('assets/images/background-bottom-right.png');
    background-size: cover;
}

/* Ensure main content sections appear above background patterns */
.site-main > * {
    position: relative;
    z-index: 1;
}

/* Platform Capabilities Section */
.platform-heading {
    font-weight: 600;
    color: #004853;
}

.platform-subtitle {
    color: #666;
}

.platform-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.platform-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12) !important;
}

.platform-card-image {
    overflow: hidden;
}

.platform-card-image img {
    width: 100%;
    height: auto;
}

.platform-card-title {
    color: #6CC351 !important;
}

.platform-card-description {
    line-height: 1.6;
    color: #555;
}

/* Hero Banner Section */
.hero-banner {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/images/header-banner-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: grayscale(100%);
    z-index: 1;
}

.hero-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 77, 77, 0.85) 0%, rgba(26, 77, 77, 0.75) 100%);
    z-index: 2;
}

.hero-banner-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/images/header-green-pattern.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 3;
    opacity: 0.6;
}

.hero-banner-content {
    position: relative;
    z-index: 4;
    color: #fff;
    padding: 4rem 0;
}

.hero-heading {
    font-weight: 600;
    line-height: 1.2;
    color: #fff;
}

.hero-text {
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

/* Footer Styles */
.site-footer {
    margin-top: 4rem;
}

.footer-logo,
.footer-logo-link img {
    max-height: 50px;
    width: auto;
    filter: brightness(0) invert(1);
}

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

/* Footer Widgets */
.footer-widget-title {
    font-weight: 600;
    color: #6CC351;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-widget ul {
    list-style: none;
    padding: 0;
}

.footer-widget a {
    color: #fff;
    transition: color 0.3s ease;
}

.footer-widget a:hover {
    color: #6CC351;
}

.footer-widget p {
    color: #ccc;
    line-height: 1.6;
}

/* Footer Columns 1, 3, and 4 - Green Text */
.row > div:nth-child(2) .footer-widget p,
.row > div:nth-child(2) .footer-widget a,
.row > div:nth-child(4) .footer-widget p,
.row > div:nth-child(4) .footer-widget a,
.row > div:nth-child(5) .footer-widget p,
.row > div:nth-child(5) .footer-widget a {
    color: #6CC351;
}

.row > div:nth-child(2) .footer-widget a:hover,
.row > div:nth-child(4) .footer-widget a:hover,
.row > div:nth-child(5) .footer-widget a:hover {
    color: #fff;
}

/* Footer Bottom Section */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright {
    color: #ccc;
}

.footer-nav-menu a {
    color: #ccc;
    transition: color 0.3s ease;
}

.footer-nav-menu a:hover {
    color: #6CC351;
}

/* Latest News Section */
.news-heading {
    font-weight: 600;
    color: #004853;
    text-align: left;
}

.news-subtitle {
    color: #666;
    text-align: left;
}

.news-card {
    border: 1px solid #e0e0e0;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.news-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background-image: url('./assets/images/LatestAnnoucement.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom right;
    pointer-events: none;
    opacity: 0.8;
}

.news-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.news-card-body {
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    z-index: 1;
}

.news-card-title {
    font-weight: 600;
    color: #004853;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.news-card-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.news-date {
    color: #6CC351;
    font-weight: 500;
}


.news-location {
    color: #666;
}

.news-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.25rem;
}

.news-download-btn:hover {
    transform: translateY(-1px);
}

.news-download-btn .download-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* CTA Section */
.cta-section {
    position: relative;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 500px;
    height: 300px;
    background-image: url('assets/images/background-bottom-right.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom right;
    pointer-events: none;
    opacity: 0.4;
    z-index: 0;
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-heading {
    font-weight: 600;
    color: #6CC351;
}

/* Product Intro Section - Decorative Patterns Only */
.product-intro-dots {
    pointer-events: none;
    z-index: 0;
    opacity: 0.4;
}

.product-intro-dots-left {
    top: 2rem;
    left: 0;
    width: 400px;
    height: 300px;
    background-image: url('assets/images/background-top-left.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: top left;
}

.product-intro-dots-right {
    top: 0;
    right: 0;
    width: 500px;
    height: 400px;
    background-image: url('assets/images/background-top-right.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: top right;
}

/* Operations Section - Transitions Only */
.operations-features-list li::marker {
    color: #6CC351;
}

/* Why Axtec Section - Transitions Only */
.why-axtec-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-axtec-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

/* Investors Page - Decorative Patterns Only */
.investors-header .dot-pattern {
    pointer-events: none;
    z-index: 0;
    opacity: 0.4;
}

.investors-header .dot-pattern-left {
    top: 0;
    left: 0;
    width: 400px;
    height: 300px;
    background-image: url('assets/images/background-top-left.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: top left;
}

.investors-header .dot-pattern-right {
    top: 0;
    right: 0;
    width: 500px;
    height: 300px;
    background-image: url('assets/images/background-top-right.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: top right;
}

/* Annual Report Card - Background Pattern */
.annual-report-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/images/annualreportbg.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: bottom right;
    pointer-events: none;
    z-index: 0;
    opacity: 0.3;
}

.annual-report-card .card-body {
    position: relative;
    z-index: 1;
}

/* Share Price Card - Background Pattern */
.share-price-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background-image: url('assets/images/SharePrice.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom right;
    pointer-events: none;
    z-index: 0;
    opacity: 0.6;
}

.share-price-card .card-body {
    position: relative;
    z-index: 1;
}

/* Stock Chart Card - Taller Height */
.stock-chart-card {
    min-height: 400px;
}

/* Chart Time Range Buttons */
.chart-time-range .btn-outline-light {
    border-color: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    transition: all 0.2s ease;
}

.chart-time-range .btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
}

.chart-time-range .btn-outline-light.active {
    background-color: #6CC351;
    border-color: #6CC351;
    color: #fff;
}

/* Company Page - Decorative Patterns Only */
.company-header-dots {
    pointer-events: none;
    z-index: 0;
    opacity: 0.4;
}

.company-header-dots-left {
    top: 2rem;
    left: 0;
    width: 400px;
    height: 300px;
    background-image: url('assets/images/background-top-left.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: top left;
}

.company-header-dots-right {
    top: 0;
    right: 0;
    width: 500px;
    height: 400px;
    background-image: url('assets/images/background-top-right.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: top right;
}

/* Our Story Section - Decorative Pattern */
.our-story-dots {
    top: 0;
    right: 0;
    width: 500px;
    height: 100%;
    background-image: url('assets/images/OurStory.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: right;
    pointer-events: none;
    z-index: 0;
    opacity: 0.5;
}

/* Our Mission Section - Decorative Pattern */
.our-mission-dots {
    bottom: 0;
    left: 0;
    width: 400px;
    height: 100%;
    background-image: url('assets/images/OurMission.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom left;
    pointer-events: none;
    z-index: 0;
    opacity: 0.3;
}

/* Our Values Section - Decorative Pattern */
.our-values-dots {
    top: 0;
    right: 0;
    width: 500px;
    height: 100%;
    background-image: url('assets/images/OurValues.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center right;
    pointer-events: none;
    z-index: 0;
    opacity: 0.5;
}

/* Company Page Cards - Transitions Only */
.value-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    z-index: 1;
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

/* Leadership Team Section */
.team-member-card {
    border: 1px solid #e0e0e0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.team-member-photo {
    overflow: hidden;
}

.team-member-photo img {
    display: block;
    width: 100%;
    height: auto;
}

/* Contact Page - Decorative Patterns */
.contact-hero {
    position: relative;
    overflow: hidden;
}

.contact-hero::before,
.contact-hero::after {
    content: '';
    position: absolute;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 0;
    opacity: 0.3;
}

.contact-hero::before {
    top: -2rem;
    left: 0;
    width: 400px;
    height: 300px;
    background-image: url('assets/images/background-top-left.png');
    background-size: contain;
    background-position: top left;
}

.contact-hero::after {
    top: -2rem;
    right: 0;
    width: 400px;
    height: 300px;
    background-image: url('assets/images/background-top-right.png');
    background-size: contain;
    background-position: top right;
}

.contact-hero .container {
    position: relative;
    z-index: 1;
}

/* Contact Form - Hover Effects */
.contact-form-wrapper {
    transition: box-shadow 0.3s ease;
}

.contact-form-wrapper:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.contact-form-wrapper .form-control {
    border: 1px solid rgba(0, 72, 83, 0.2);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form-wrapper .form-control:focus {
    border-color: #6CC351;
    box-shadow: 0 0 0 0.2rem rgba(108, 195, 81, 0.25);
}

.contact-form-wrapper .form-control::placeholder {
    color: rgba(0, 72, 83, 0.4);
}

/* Contact Location Hover Effect */
.contact-location {
    transition: transform 0.3s ease;
}

.contact-location:hover {
    transform: translateX(4px);
}

/* Investor Section - Decorative Pattern */
.investor-wrapper {
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.investor-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/images/InvestorEnquiries.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center right;
    pointer-events: none;
    z-index: 0;
    opacity: 0.6;
}

.investor-wrapper .row {
    position: relative;
    z-index: 1;
}

.investor-wrapper:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .hero-banner {
        min-height: 400px;
    }

    .hero-banner-content {
        padding: 3rem 0;
    }

    .cta-section::after {
        width: 300px;
        height: 200px;
    }

    .product-intro-dots-left,
    .product-intro-dots-right {
        width: 250px;
        height: 200px;
    }

    .investors-header .dot-pattern-left,
    .investors-header .dot-pattern-right {
        width: 250px;
        height: 200px;
    }

    .company-header-dots-left,
    .company-header-dots-right {
        width: 250px;
        height: 200px;
    }

    .our-story-dots,
    .our-mission-dots,
    .our-values-dots {
        width: 250px;
    }

    .contact-hero::before,
    .contact-hero::after {
        width: 250px;
        height: 200px;
    }

    .investor-wrapper::after {
        background-size: cover;
        opacity: 0.3;
    }
}
