/*
Theme Name:   INDEED Kadence Child
Theme URI:    https://indeed.pro
Description:  Kadence Child Theme for INDEED IT Solutions
Author:       INDEED
Author URI:   https://indeed.pro
Template:     kadence
Version:      1.0.0
Text Domain:  indeed-kadence-child
*/

/* =============================================
   DESIGN TOKENS
   ============================================= */
:root {
    --primary:      #D03613;
    --secondary:    #F09B33;
    --text-dark:    #333333;
    --bg-body:      #F4F6F8;
    --bg-card:      #FFFFFF;
    --text-main:    #0F172A;
    --text-muted:   #64748B;
    --border:       #E2E8F0;
    --radius-lg:    24px;
    --radius-md:    12px;
}

/* =============================================
   BASE / GLOBAL
   ============================================= */
body {
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    transition: all 0.2s;
    color: inherit;
}

img {
    max-width: 100%;
    border-radius: var(--radius-md);
    display: block;
}

.container,
.entry-content > *,
.wp-block-group__inner-container {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 5%;
    padding-right: 5%;
}

/* =============================================
   HEADER — Kadence overrides
   ============================================= */
#masthead,
.site-header {
    background-color: var(--bg-card) !important;
    border-top: 4px solid var(--primary) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
    position: sticky;
    top: 0;
    z-index: 999;
}

/* Nav links */
.main-navigation a,
#site-navigation a,
.kadence-navigation a {
    color: var(--text-main) !important;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.main-navigation a:hover,
#site-navigation a:hover,
.kadence-navigation a:hover {
    color: var(--primary) !important;
}

/* CTA button in nav */
.btn-nav,
.header-cta-btn {
    background-color: var(--primary) !important;
    color: #FFFFFF !important;
    padding: 0.6rem 1.5rem !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 10px rgba(208, 54, 19, 0.2);
    transition: all 0.3s;
}

.btn-nav:hover,
.header-cta-btn:hover {
    background-color: #b32e10 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(208, 54, 19, 0.3);
}

/* =============================================
   BUTTONS
   ============================================= */
.btn-primary,
.wp-block-button__link,
.kb-btn {
    background-color: var(--primary);
    color: #FFFFFF;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary:hover,
.wp-block-button__link:hover {
    background-color: #b32e10;
    box-shadow: 0 10px 20px rgba(208, 54, 19, 0.2);
    color: #FFFFFF;
}

.btn-outline {
    border: 2px solid var(--border);
    color: var(--text-main);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    background: transparent;
    transition: all 0.3s;
}

.btn-outline:hover {
    border-color: var(--text-main);
}

/* Kadence outline button variant */
.wp-block-button.is-style-outline .wp-block-button__link {
    background: transparent;
    color: var(--text-main);
    border: 2px solid var(--border);
}

.wp-block-button.is-style-outline .wp-block-button__link:hover {
    border-color: var(--text-main);
    background: transparent;
    color: var(--text-main);
}

/* =============================================
   HERO SECTION
   ============================================= */
.section-hero {
    padding: 6rem 0;
}

.section-hero .hero-content h1,
.section-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.section-hero .hero-content p,
.section-hero .hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-image-wrapper {
    position: relative;
}

.hero-image-wrapper img {
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

/* Floating status badge */
.floating-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 700;
    color: var(--text-main);
    z-index: 2;
}

.dot {
    width: 12px;
    height: 12px;
    background: #10B981;
    border-radius: 50%;
    animation: pulse 2s infinite;
    flex-shrink: 0;
}

@keyframes pulse {
    0%   { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
    70%  { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* =============================================
   VENDOR / PARTNER LOGOS BAR
   ============================================= */
.vendor-bar {
    background: var(--bg-card);
    padding: 2rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    text-align: center;
}

.vendor-bar p,
.vendor-bar .vendor-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.vendor-logos {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    align-items: center;
}

.vendor-logos img {
    height: 35px;
    border-radius: 0;
    opacity: 0.6;
    filter: grayscale(100%);
    transition: all 0.3s;
}

.vendor-logos img:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* =============================================
   SECTION HEADER (shared)
   ============================================= */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* =============================================
   BENTO SERVICES GRID
   ============================================= */
.section-services {
    padding: 6rem 0;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.bento-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    border: 1px solid var(--border);
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    cursor: pointer;
    color: var(--text-main);
    text-decoration: none;
}

.bento-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    border-color: var(--secondary);
}

.bento-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--text-main);
    transition: color 0.2s;
}

.bento-card:hover h3 {
    color: var(--primary);
}

.bento-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.read-more {
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.95rem;
    margin-top: 1rem;
    transition: gap 0.2s, color 0.2s;
}

.bento-card:hover .read-more {
    gap: 10px;
    color: var(--secondary);
}

.bento-img-small {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1rem;
}

/* Large 2-column card */
.card-large {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: center;
    padding: 0;
    overflow: hidden;
    background: linear-gradient(to right, #ffffff, #fcfcfc);
}

.card-large-content {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
}

.card-large .card-large-img,
.card-large img.card-large-img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: 0;
}

.card-badge {
    color: var(--secondary);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 0.5rem;
}

/* =============================================
   PROCESS / TIMELINE
   ============================================= */
.section-process {
    padding: 4rem 0 6rem 0;
    background-color: var(--bg-body);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
    margin-top: 3rem;
}

.process-line {
    position: absolute;
    top: 30px;
    left: 15%;
    right: 15%;
    height: 2px;
    border-top: 2px dashed var(--border);
    z-index: 0;
}

.process-step {
    position: relative;
    z-index: 1;
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 1.5rem;
    border: 6px solid var(--bg-body);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.step-number--secondary { background: var(--secondary); }
.step-number--dark      { background: var(--text-main); }

.process-step h3 {
    color: var(--text-main);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.process-step p {
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 300px;
    margin: 0 auto;
}

/* =============================================
   WHY US (dark section)
   ============================================= */
.section-why-us {
    padding: 6rem 0;
    background-color: var(--text-main);
    color: #FFFFFF;
}

.section-why-us .why-us-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.section-why-us h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--secondary);
}

.section-why-us .why-us-lead {
    color: #94A3B8;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.section-why-us img {
    border: 1px solid #334155;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.check-list {
    list-style: none;
    margin-bottom: 2.5rem;
    padding: 0;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
    font-weight: 500;
    color: #FFFFFF;
}

.check-list li::before {
    content: "✓";
    color: var(--secondary);
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* =============================================
   TESTIMONIALS
   ============================================= */
.section-testimonials {
    padding: 6rem 0;
    background-color: var(--bg-body);
}

.test-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.test-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    position: relative;
}

.quote-icon {
    font-size: 3rem;
    color: rgba(240, 155, 51, 0.2);
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-family: serif;
    line-height: 1;
}

.test-text {
    color: var(--text-main);
    font-size: 1.05rem;
    font-style: italic;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.test-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid var(--border);
    padding-top: 1rem;
}

.author-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--text-muted);
    flex-shrink: 0;
}

.author-info h4 {
    font-size: 0.95rem;
    margin-bottom: 0.1rem;
}

.author-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

/* =============================================
   FAQ ACCORDION
   ============================================= */
.section-faq {
    padding: 4rem 0 6rem 0;
    max-width: 800px;
    margin: 0 auto;
}

.faq-list {
    margin-top: 3rem;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 1rem 2rem;
    border: 1px solid var(--border);
}

.faq-list details {
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 0;
}

.faq-list details:last-child {
    border-bottom: none;
}

.faq-list summary {
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-main);
    transition: color 0.2s;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary:hover { color: var(--primary); }

.faq-list summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--secondary);
    transition: transform 0.3s;
}

.faq-list details[open] summary {
    color: var(--primary);
    margin-bottom: 1rem;
}

.faq-list details[open] summary::after {
    content: '−';
    transform: rotate(180deg);
}

.faq-list details p {
    color: var(--text-muted);
    padding-right: 2rem;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Kadence Accordion overrides */
.wp-block-kadence-accordion .kt-accordion-panel-inner {
    color: var(--text-muted);
}

.wp-block-kadence-accordion .kt-accordion-header-wrap button {
    color: var(--text-main);
    font-weight: 600;
}

.wp-block-kadence-accordion .kt-accordion-header-wrap button:hover,
.wp-block-kadence-accordion .kt-accordion-header-wrap button[aria-expanded="true"] {
    color: var(--primary);
}

.wp-block-kadence-accordion .kt-accordion-icon-trigger {
    color: var(--secondary);
}

/* =============================================
   CONTACT & MAP
   ============================================= */
.section-contact {
    padding: 6rem 0;
    background-color: var(--bg-card);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-form-wrapper {
    background: var(--bg-body);
    padding: 3rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

.contact-form-wrapper h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.contact-form-wrapper > p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.form-control,
.wpcf7-form-control.wpcf7-text,
.wpcf7-form-control.wpcf7-email,
.wpcf7-form-control.wpcf7-tel,
.wpcf7-form-control.wpcf7-textarea,
.fluent-form-field input,
.fluent-form-field textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s;
    background: #FFFFFF;
}

.form-control:focus,
.wpcf7-form-control:focus,
.fluent-form-field input:focus,
.fluent-form-field textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(208, 54, 19, 0.1);
}

textarea.form-control,
.wpcf7-form-control.wpcf7-textarea {
    resize: vertical;
    min-height: 120px;
}

.map-wrapper {
    height: 100%;
    min-height: 400px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer,
footer.site-footer {
    background-color: #0B1120 !important;
    color: #94A3B8 !important;
    padding: 4rem 0 2rem 0;
    font-size: 0.95rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    color: #FFFFFF;
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
}

.footer-col p {
    margin-bottom: 0.5rem;
    color: #94A3B8;
}

.footer-col a {
    color: #94A3B8;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.2s;
}

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

.footer-bottom {
    text-align: center;
    border-top: 1px solid #1E293B;
    padding-top: 2rem;
    font-size: 0.85rem;
    color: #64748B;
}

/* Kadence footer overrides */
.kadence-footer-columns {
    background-color: #0B1120 !important;
}

/* =============================================
   GUTENBERG / BLOCK EDITOR GLOBAL OVERRIDES
   ============================================= */

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-main);
}

/* Kadence Section/Row backgrounds */
.kb-section-bg-color-primary { background-color: var(--primary) !important; }
.kb-section-bg-color-dark    { background-color: var(--text-main) !important; }
.kb-section-bg-color-light   { background-color: var(--bg-body) !important; }

/* Info box / icon box card style */
.wp-block-kadence-infobox {
    background: var(--bg-card);
    border-radius: var(--radius-lg) !important;
    border: 1px solid var(--border) !important;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    padding: 2.5rem !important;
}

.wp-block-kadence-infobox:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    border-color: var(--secondary) !important;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 992px) {
    .section-hero .hero-grid,
    .why-us-inner,
    .card-large,
    .footer-grid,
    .contact-grid,
    .process-grid {
        grid-template-columns: 1fr;
    }

    .bento-grid {
        grid-template-columns: 1fr;
    }

    .card-large {
        grid-column: span 1;
    }

    .process-line {
        display: none;
    }

    .map-wrapper {
        height: 350px;
    }

    .section-hero h1,
    .section-hero .hero-content h1 {
        font-size: 2.4rem;
    }

    .test-grid {
        grid-template-columns: 1fr;
    }

    .floating-badge {
        position: relative;
        bottom: auto;
        left: auto;
        margin-top: 1rem;
    }
}

@media (max-width: 600px) {
    .section-hero h1,
    .section-hero .hero-content h1 {
        font-size: 2rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .contact-form-wrapper {
        padding: 1.5rem;
    }
}
