/* ============================================
   GLASSMORPHISM — Frosted Glass UI Layer
   More prominent: stronger blur, visible borders,
   brighter ambient glow sources.
   ============================================ */

/* --- Ambient glow sources ---
   Radial gradients behind glass sections give
   backdrop-filter depth to refract.
   ------------------------------------------- */

.pillars {
    position: relative;
    overflow: hidden;
}

.pillars::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.12) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}

.pillars::after {
    content: '';
    position: absolute;
    bottom: -15%;
    right: -5%;
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, rgba(0, 103, 255, 0.10) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}

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

/* --- Pillar Cards Glass --- */

.pillar-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 2px solid var(--pillar-color, var(--color-accent));
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.pillar-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    border-top-color: var(--pillar-color, var(--color-accent));
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 0 60px color-mix(in srgb, var(--pillar-color, var(--color-accent)) 12%, transparent);
}


/* --- Service Hero Ambient Glow --- */

.service-hero {
    position: relative;
    overflow: hidden;
}

.service-hero::after {
    content: '';
    position: absolute;
    bottom: -10%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 103, 255, 0.10) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}

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


/* --- Credibility Strip Glass --- */

.credibility-strip {
    position: relative;
    background: transparent;
    border-top: none;
    border-bottom: none;
    overflow: hidden;
}

.credibility-strip::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 900px;
    height: 350px;
    background: radial-gradient(ellipse, rgba(0, 103, 255, 0.08) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}

.credibility-strip__grid {
    position: relative;
    z-index: 1;
}

.credibility-strip__stat {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
    padding: var(--space-2xl) var(--space-xl);
    box-shadow:
        0 4px 24px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.credibility-strip__stat:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}


/* --- Testimonials Glass --- */

.testimonials {
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 15%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 103, 255, 0.08) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}

.testimonials::after {
    content: '';
    position: absolute;
    bottom: 10%;
    left: -8%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.06) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}

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

.testimonials__carousel {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-lg);
    padding: var(--space-3xl) var(--space-2xl);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}


/* --- CTA Banner Ambient Glow --- */

.cta-banner {
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 103, 255, 0.08) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}

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


/* --- About Brief Ambient Glow --- */

.about-brief {
    position: relative;
    overflow: hidden;
    padding: var(--space-4xl) 0;
}

.about-brief::before {
    content: '';
    position: absolute;
    top: 20%;
    left: -8%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 103, 255, 0.06) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}

.about-brief .container {
    position: relative;
    z-index: 1;
}


/* --- Contact / Quote Form Ambient Glows --- */

.contact-grid {
    position: relative;
    overflow: hidden;
}

.contact-grid::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(0, 103, 255, 0.08) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}

.contact-grid::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -5%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.08) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}

.contact-grid > * {
    position: relative;
    z-index: 1;
}

.page-template-page-quote .container--narrow {
    position: relative;
    overflow: hidden;
}

.page-template-page-quote .container--narrow::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 103, 255, 0.08) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}

.page-template-page-quote .container--narrow::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.08) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}

.page-template-page-quote .container--narrow > * {
    position: relative;
    z-index: 1;
}


/* --- Form Containers Glass --- */

.contact-form,
.contact-info {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
    padding: var(--space-3xl);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.contact-form h2,
.contact-info h2 {
    margin-bottom: var(--space-xl);
}

.contact-info__item {
    margin-bottom: var(--space-xl);
}

.contact-info__item:last-child {
    margin-bottom: 0;
}

.contact-info__item h3 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    margin-bottom: var(--space-xs);
    font-weight: 600;
}

.contact-info__item p {
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.contact-info__item a {
    color: var(--color-accent-text, var(--color-accent));
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-info__item a:hover {
    color: var(--color-accent-hover);
}

/* Quote page form container */
.page-template-page-quote .container--narrow {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
    padding: var(--space-3xl);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* Glass inputs inside glass containers */
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea,
.contact-form select,
.page-template-page-quote input[type="text"],
.page-template-page-quote input[type="email"],
.page-template-page-quote input[type="tel"],
.page-template-page-quote textarea,
.page-template-page-quote select {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus,
.page-template-page-quote input:focus,
.page-template-page-quote textarea:focus,
.page-template-page-quote select:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--color-accent);
}


/* --- Services page blocks glass --- */

.service-block {
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-lg);
    padding: var(--space-2xl);
    margin-bottom: var(--space-xl);
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    grid-template-columns: 4px 1fr;
}

.service-block::before {
    content: '';
    position: absolute;
    top: 50%;
    right: -10%;
    transform: translateY(-50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 103, 255, 0.06) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}

.service-block > * {
    position: relative;
    z-index: 1;
}

.service-block:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.25),
        0 0 40px color-mix(in srgb, var(--pillar-color, var(--color-accent)) 6%, transparent);
}

.service-block__accent {
    background: linear-gradient(
        180deg,
        var(--pillar-color, var(--color-accent)) 0%,
        transparent 100%
    );
    opacity: 0.6;
    transition: opacity 0.3s ease;
    border-radius: 2px;
}

.service-block:hover .service-block__accent {
    opacity: 1;
}


/* --- Region tags glass --- */

.region-tag {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.region-tag:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}


/* --- Footer Ambient Glow --- */

.site-footer {
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: -15%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(0, 103, 255, 0.05) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}

.site-footer .container {
    position: relative;
    z-index: 1;
}


/* --- Responsive --- */

@media (max-width: 768px) {
    .testimonials__carousel {
        padding: var(--space-2xl) var(--space-lg);
    }

    .contact-form,
    .contact-info {
        padding: var(--space-2xl) var(--space-xl);
    }

    .page-template-page-quote .container--narrow {
        padding: var(--space-2xl) var(--space-xl);
    }

    .credibility-strip__stat {
        padding: var(--space-xl) var(--space-lg);
    }

    .service-block {
        padding: var(--space-xl);
    }
}


/* ============================================
   SECTION BACKGROUND IMAGES
   Subtle photography behind key sections
   ============================================ */

/* About Brief — Warners Bay, Lake Macquarie aerial */
.about-brief {
    background:
        linear-gradient(to right, rgba(15,23,42,0.92) 0%, rgba(15,23,42,0.78) 100%),
        url('/wp-content/uploads/2026/02/shutterstock_1580399296.webp');
    background-size: cover;
    background-position: center;
}

/* CTA Banner — Nobbys Head Lighthouse, Newcastle */
.cta-banner {
    background:
        linear-gradient(135deg, rgba(0,103,255,0.55) 0%, rgba(59,130,246,0.65) 100%),
        url('/wp-content/uploads/2026/02/shutterstock_174338165.webp');
    background-size: cover;
    background-position: center;
}

/* ============================================
   PAGE-SPECIFIC BACKGROUND IMAGES
   Subtle photography behind key sections
   ============================================ */

/* --- Services Listing Page --- */
.services-listing {
    background:
        linear-gradient(to bottom, rgba(15,23,42,0.95) 0%, rgba(15,23,42,0.88) 50%, rgba(15,23,42,0.95) 100%),
        url('/wp-content/uploads/2026/02/shutterstock_2081373316.webp');
    background-size: cover;
    background-position: center;
}

/* --- Quote Page Hero --- */
.page-template-page-quote .page-header {
    background:
        linear-gradient(to bottom, rgba(15,23,42,0.65) 0%, rgba(15,23,42,0.88) 100%),
        url('/wp-content/uploads/2026/02/shutterstock_376368499.webp');
    background-size: cover;
    background-position: center;
    padding: var(--space-4xl) 0;
}

/* --- Service Pillar Intro Backgrounds ---
   Each pillar page gets a thematic background
   behind the intro card section.
   ------------------------------------------- */

.service-intro {
    background-size: cover;
    background-position: center;
}

/* AI — neural network concept */
body.page-id-9 .service-intro {
    background:
        linear-gradient(to right, rgba(15,23,42,0.92) 0%, rgba(15,23,42,0.80) 100%),
        url('/wp-content/uploads/2026/02/shutterstock_2464071963.webp');
    background-size: cover;
    background-position: center;
}

/* Cyber Security — digital padlock */
body.page-id-10 .service-intro {
    background:
        linear-gradient(to right, rgba(15,23,42,0.92) 0%, rgba(15,23,42,0.80) 100%),
        url('/wp-content/uploads/2026/02/shutterstock_2566534519.webp');
    background-size: cover;
    background-position: center;
}

/* Digital Presence — SEO concept */
body.page-id-11 .service-intro {
    background:
        linear-gradient(to right, rgba(15,23,42,0.92) 0%, rgba(15,23,42,0.80) 100%),
        url('/wp-content/uploads/2026/02/shutterstock_2525883045.webp');
    background-size: cover;
    background-position: center;
}

/* Cloud Services — server room */
body.page-id-12 .service-intro {
    background:
        linear-gradient(to right, rgba(15,23,42,0.92) 0%, rgba(15,23,42,0.80) 100%),
        url('/wp-content/uploads/2026/02/shutterstock_2545951179.webp');
    background-size: cover;
    background-position: center;
}

/* IT Consulting — boardroom collaboration */
body.page-id-13 .service-intro {
    background:
        linear-gradient(to right, rgba(15,23,42,0.92) 0%, rgba(15,23,42,0.80) 100%),
        url('/wp-content/uploads/2026/02/shutterstock_2431976515.webp');
    background-size: cover;
    background-position: center;
}

/* --- About Regions Background --- */
.about-regions {
    background:
        linear-gradient(to bottom, rgba(15,23,42,0.90) 0%, rgba(15,23,42,0.82) 100%),
        url('/wp-content/uploads/2026/02/shutterstock_2097924274.webp');
    background-size: cover;
    background-position: center;
}
