/*
 Theme Name: Kadence Child
 Template: kadence
 Version: 1.0
*/

body {
    background-color: #f9f9f9;
}

.header-cta-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #ff4c3b; /* Bright accent color */
    color: #fff;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-left: 20px;
}

.header-cta-button:hover {
    background-color: #e03f2b;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .header-cta-button {
        display: none; /* optional: hide CTA on mobile */
    }
}

.top-announcement-bar {
    width: 100%;
    background-color: #ffef00; /* Bright yellow */
    color: #000;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;

    /* Center the text */
    display: flex;
    justify-content: center;
    align-items: center;

    padding: 8px 0;
    text-align: center;

@media (max-width: 768px) {
    .top-announcement-bar {
        font-size: 12px;
        padding: 6px 0;
    }
}

/* =========================
   Header Styling
========================= */

.site-header-wrapper header {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #0a1f44; /* Unique dark blue */
    transition: all 0.3s ease;
}

/* Navigation Links */
.site-header-wrapper nav a {
    color: #FFD700; /* Gold */
    text-decoration: none;
    margin: 0 15px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.site-header-wrapper nav a:hover {
    color: #ffffff; /* Diamond / bright accent */
}

/* CTA Button */
.header-cta-button {
    background-color: #FFD700; /* Gold */
    color: #0a1f44; /* Dark blue text for contrast */
    font-weight: 600;
    border-radius: 8px;
    padding: 10px 20px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.header-cta-button:hover {
    background-color: #ffffff; /* Diamond */
    color: #0a1f44;
    transform: translateY(-2px);
}

.site-header-wrapper.is-sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #102d5f; /* Slightly lighter dark blue for contrast */
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

@media (max-width: 768px) {
    .site-header-wrapper header {
        padding: 12px 20px;
        flex-direction: column;
        align-items: flex-start;
    }

    .site-header-wrapper nav a {
        margin: 5px 0;
    }

    .header-cta-button {
        margin-top: 10px;
        width: 100%;
        text-align: center;
    }
}

.header-cta-wrapper {
    display: flex;
    align-items: center;
    margin-left: 20px;
}

.site-header-wrapper header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-header-wrapper nav {
    flex: 1; /* keeps nav in the middle */
}
@media (max-width: 768px) {
    .header-cta-wrapper {
        margin-top: 10px;
        width: 100%;
        justify-content: center;
    }
}
/* =========================
   Announcement Bar
========================= */
.top-announcement-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    background-color: #FFD700; /* Gold for brand */
    color: #0a1f44; /* Dark blue text */
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    padding: 8px 0;
}

/* Announcement Bar close button */
.top-announcement-bar span {
    cursor: pointer;
    margin-left: 10px;
    font-weight: bold;
}

/* =========================
   Header Styling
========================= */
.site-header-wrapper header {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #0a1f44; /* Dark blue */
    transition: all 0.3s ease;
}

.site-header-wrapper nav a {
    color: #FFD700; /* Gold */
    text-decoration: none;
    margin: 0 15px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.site-header-wrapper nav a:hover {
    color: #ffffff; /* Diamond */
}

.header-cta-button {
    background-color: #FFD700; /* Gold */
    color: #0a1f44; /* Dark blue text */
    font-weight: 600;
    border-radius: 8px;
    padding: 10px 20px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.header-cta-button:hover {
    background-color: #ffffff; /* Diamond */
    color: #0a1f44;
    transform: translateY(-2px);
}

.header-cta-wrapper {
    display: flex;
    align-items: center;
    margin-left: 20px;
}

.site-header-wrapper nav {
    flex: 1; /* keeps nav centered between logo and CTA */
}

/* =========================
   Sticky Header
========================= */
.site-header-wrapper.is-sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #102d5f; /* Slightly lighter dark blue */
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.site-header-wrapper.is-sticky header {
    padding: 10px 40px; /* Shrinks padding when scrolling */
    transition: all 0.3s ease;
}

/* =========================
   Responsive Mobile
========================= */
@media (max-width: 768px) {
    .site-header-wrapper header {
        padding: 12px 20px;
        flex-direction: column;
        align-items: flex-start;
    }

    .site-header-wrapper nav {
        width: 100%;
        margin-top: 10px;
    }

    .site-header-wrapper nav a {
        margin: 5px 0;
    }

    .header-cta-wrapper {
        margin-top: 10px;
        width: 100%;
        justify-content: center;
    }
}

/* ===== Header CTA Wrapper & Alignment ===== */
.header-cta-wrapper {
    display: flex;
    align-items: center;
    margin-left: 20px; /* space between nav and CTA */
}

.site-header-wrapper nav {
    flex: 1; /* keeps nav centered between logo and CTA */
}

/* ===== Mobile Adjustments ===== */
@media (max-width: 768px) {
    .header-cta-wrapper {
        margin-top: 10px;
        width: 100%;
        justify-content: center; /* center CTA on mobile */
    }

    .site-header-wrapper header {
        flex-direction: column;
        align-items: flex-start;
    }

    .site-header-wrapper nav {
        width: 100%;
        margin-top: 10px;
    }

    .site-header-wrapper nav a {
        margin: 5px 0;
    }
}

/* ===== Announcement Bar ===== */
.top-announcement-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    background-color: #FFD700; /* Gold */
    color: #0a1f44; /* Dark Blue text */
    font-weight: 600;
    font-size: 14px;
    padding: 8px 0;
    text-align: center;
}

/* ===== Header Styling ===== */
.site-header-wrapper header {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #0a1f44; /* Dark Blue */
    position: relative;
}

/* Center Business Name */
.site-header-wrapper header::before {
    content: "Conquera Digital";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 24px;
    font-weight: 700;
    color: #FFD700; /* Gold */
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Navigation Links */
.site-header-wrapper nav a {
    color: #FFD700; /* Gold links */
    text-decoration: none;
    margin: 0 15px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.site-header-wrapper nav a:hover {
    color: #ffffff; /* Diamond hover */
}

/* CTA Button */
.header-cta-wrapper .header-cta-button {
    background-color: #FFD700; /* Gold */
    color: #0a1f44; /* Dark Blue text */
    font-weight: 600;
    border-radius: 8px;
    padding: 10px 20px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.header-cta-wrapper .header-cta-button:hover {
    background-color: #ffffff; /* Diamond */
    color: #0a1f44;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .site-header-wrapper header {
        flex-direction: column;
        align-items: flex-start;
        padding: 12px 20px;
    }

    .site-header-wrapper nav {
        width: 100%;
        margin-top: 10px;
    }

    .site-header-wrapper nav a {
        margin: 5px 0;
    }

    .header-cta-wrapper {
        width: 100%;
        justify-content: center;
        margin-top: 10px;
    }

    /* Center Business Name smaller on mobile */
    .site-header-wrapper header::before {
        font-size: 20px;
    }
}