/*
Theme Name: Flyer Zone Placement
Theme URI: https://example.com/flyerzone-placement
Author: Codex
Author URI: https://example.com
Description: A custom WordPress theme converted from the provided Flyer Zone HTML landing page.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: custom-background, custom-logo, custom-menu, featured-images, full-width-template, threaded-comments
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: flyerzone-placement
*/


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    background:
        radial-gradient(circle at top left, rgba(125, 211, 252, 0.34), transparent 24%),
        radial-gradient(circle at top right, rgba(56, 189, 248, 0.26), transparent 28%),
        linear-gradient(180deg, rgba(14, 165, 233, 0.09), rgba(255, 255, 255, 0) 20%),
        linear-gradient(135deg, #eef8ff 0%, #f8fbff 36%, #edf5ff 100%);
    color: #1a1a2e;
    line-height: 1.5;
    background-attachment: fixed;
    position: relative;
}

a {
    color: inherit;
}

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

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(14, 116, 144, 0.12);
    padding: 16px 0;
    box-shadow: 0 16px 40px rgba(14, 44, 87, 0.06);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo img {
    max-height: 48px;
    width: auto;
}

.site-title {
    font-size: 1.4rem;
    font-weight: 800;
    text-decoration: none;
    color: #0057b3;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    font-weight: 500;
    color: #1a1a2e;
    transition: color 0.2s ease, background 0.2s ease;
    font-size: 15px;
}

.nav-links a:hover,
.nav-links a:focus-visible {
    color: #0057b3;
}

.contact-btn {
    background: #0057b3;
    color: #ffffff !important;
    padding: 8px 20px;
    border-radius: 40px;
}

.contact-btn:hover,
.contact-btn:focus-visible {
    background: #003d82;
    color: #ffffff;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #1a1a2e;
}

.hero-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    isolation: isolate;
}

.slideshow-container {
    position: relative;
    width: 100%;
    min-height: 500px;
}

.slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
}

.slide.active {
    opacity: 1;
    position: relative;
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(8, 47, 73, 0.78), rgba(12, 74, 110, 0.42)),
        radial-gradient(circle at top right, rgba(125, 211, 252, 0.28), transparent 28%);
}

.slide-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 40px;
}

.slide-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
}

.slide-btn,
.cta-btn {
    display: inline-block;
    border: none;
    cursor: pointer;
    text-decoration: none;
    font-weight: 700;
    transition: background 0.2s ease, transform 0.2s ease;
}

.slide-btn {
    background: #0057b3;
    color: #ffffff;
    padding: 12px 32px;
    border-radius: 40px;
    margin-top: 20px;
}

.slide-btn:hover,
.slide-btn:focus-visible {
    background: #003d82;
}

.slider-nav {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 12px;
    z-index: 10;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 0;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.2s ease;
}

.slider-dot.active {
    background: #ffffff;
    width: 24px;
    border-radius: 10px;
}

.cards-section {
    padding: 60px 0;
    background: rgba(255, 255, 255, 0.66);
    backdrop-filter: blur(10px);
}

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

.card {
    background: rgba(255, 255, 255, 0.88);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(125, 211, 252, 0.2);
    box-shadow: 0 18px 45px rgba(14, 44, 87, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

.card:hover,
.card:focus-visible {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.card-content {
    padding: 24px;
}

.card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
}

.about-section {
    padding: 80px 24px;
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
    position: relative;
}

.about-image,
.about-content {
    flex: 1 1 320px;
}

.about-image img {
    width: 100%;
    max-width: 400px;
    border-radius: 24px;
}

.subtitle {
    color: #0057b3;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.about-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.about-btn {
    margin-top: 24px;
}

.programs-section {
    background:
        linear-gradient(135deg, rgba(4, 30, 66, 0.96), rgba(6, 78, 120, 0.9)),
        radial-gradient(circle at 20% 20%, rgba(125, 211, 252, 0.22), transparent 18%),
        radial-gradient(circle at 78% 30%, rgba(56, 189, 248, 0.16), transparent 20%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0));
    color: #ffffff;
    padding: 80px 0;
}

.section-heading {
    text-align: center;
    margin-bottom: 40px;
}

.section-heading h2 {
    font-size: 36px;
}

.divider {
    width: 60px;
    height: 3px;
    background: #0057b3;
    margin: 16px auto;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.program-card {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(186, 230, 253, 0.18);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, background 0.3s ease;
}

.program-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.program-icon {
    font-size: 40px;
    margin-bottom: 20px;
}

.program-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.programs-cta {
    text-align: center;
    margin-top: 40px;
}

.programs-btn {
    background: #ffffff;
    color: #0057b3;
}

.programs-btn:hover,
.programs-btn:focus-visible {
    background: #f1f5f9;
}

.testimonials-section {
    padding: 80px 0;
    background: rgba(247, 251, 255, 0.62);
    backdrop-filter: blur(10px);
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial-slide {
    text-align: center;
    padding: 40px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(125, 211, 252, 0.18);
    border-radius: 24px;
    margin: 20px;
    box-shadow: 0 18px 45px rgba(14, 44, 87, 0.08);
}

.testimonial-slide p {
    font-size: 18px;
    line-height: 1.6;
    color: #334155;
    margin-bottom: 24px;
}

.testimonial-author {
    font-weight: 700;
    color: #1a1a2e;
}

.faq-section {
    padding: 80px 0;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(125, 211, 252, 0.16);
    border-radius: 16px;
    padding: 20px;
}

.faq-question {
    width: 100%;
    background: transparent;
    border: 0;
    font-weight: 700;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    color: #1a1a2e;
}

.faq-answer {
    margin-top: 12px;
    color: #475569;
    display: none;
}

.faq-answer.show {
    display: block;
}

.cta-section {
    background:
        linear-gradient(135deg, rgba(0, 87, 179, 0.94), rgba(2, 132, 199, 0.92)),
        radial-gradient(circle at left top, rgba(186, 230, 253, 0.22), transparent 24%),
        radial-gradient(circle at right bottom, rgba(125, 211, 252, 0.18), transparent 26%);
    padding: 60px 0;
    text-align: center;
    color: #ffffff;
}

.cta-section p {
    margin-top: 16px;
}

.cta-btn {
    background: #ffffff;
    color: #0057b3;
    padding: 14px 40px;
    border-radius: 50px;
    margin-top: 24px;
}

.cta-btn:hover,
.cta-btn:focus-visible {
    transform: scale(1.05);
}

.footer {
    background: linear-gradient(180deg, #0b1f3a, #081525);
    color: #94a3b8;
    padding: 60px 0 30px;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1600' height='1200' viewBox='0 0 1600 1200'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.24' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M120 900 C 320 760, 500 760, 680 600 S 1050 360, 1400 220' stroke-dasharray='8 12'/%3E%3Cpath d='M220 230 C 460 340, 620 420, 810 360 S 1160 180, 1460 320' stroke-dasharray='10 14'/%3E%3Cpath d='M180 620 C 360 560, 520 520, 760 620 S 1180 840, 1440 760' stroke-dasharray='7 12'/%3E%3C/g%3E%3Cg fill='%23ffffff' fill-opacity='0.32'%3E%3Ccircle cx='120' cy='900' r='4'/%3E%3Ccircle cx='680' cy='600' r='4'/%3E%3Ccircle cx='1400' cy='220' r='4'/%3E%3Ccircle cx='220' cy='230' r='4'/%3E%3Ccircle cx='810' cy='360' r='4'/%3E%3Ccircle cx='1460' cy='320' r='4'/%3E%3Ccircle cx='180' cy='620' r='4'/%3E%3Ccircle cx='760' cy='620' r='4'/%3E%3Ccircle cx='1440' cy='760' r='4'/%3E%3C/g%3E%3Cg fill='%23ffffff' fill-opacity='0.18'%3E%3Cpath d='M1020 140 l34 10 -28 12 8 18 -18 -14 -22 14 10 -18 -20 -12 26 -10 6 -24z'/%3E%3Cpath d='M420 980 l26 8 -20 10 6 14 -14 -10 -16 10 8 -14 -16 -10 20 -8 6 -18z'/%3E%3C/g%3E%3C/svg%3E"),
        radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.38) 0 2px, transparent 3px),
        radial-gradient(circle at 78% 28%, rgba(255, 255, 255, 0.28) 0 2px, transparent 3px),
        radial-gradient(circle at 58% 72%, rgba(255, 255, 255, 0.22) 0 2px, transparent 3px),
        linear-gradient(135deg, rgba(227, 243, 255, 0.92), rgba(237, 245, 255, 0.86));
    background-size: cover, 260px 260px, 320px 320px, 280px 280px, cover;
    background-position: center, 0 0, 0 0, 0 0, center;
    opacity: 0.65;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer h4 {
    color: #ffffff;
    margin-bottom: 20px;
    font-size: 18px;
}

.footer a {
    color: #94a3b8;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
}

.footer a:hover,
.footer a:focus-visible {
    color: #ffffff;
}

.social-icons {
    display: flex;
    gap: 16px;
}

.social-space {
    margin-top: 20px;
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 24px;
    text-align: center;
}

.modal {
    display: none;
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 16px;
}

.modal.is-open {
    display: flex;
}

.modal-content {
    background: #ffffff;
    border-radius: 24px;
    max-width: 500px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    padding: 30px;
    position: relative;
}

.modal-content h3 {
    margin-bottom: 20px;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
    border: 0;
    background: transparent;
}

.modal-close-btn {
    width: 100%;
}

.content-shell {
    padding-top: 60px;
    padding-bottom: 60px;
}

.page-article {
    max-width: 760px;
    margin: 0 auto;
}

.entry-title {
    margin-bottom: 24px;
    font-size: 2rem;
}

.entry-content > * + * {
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .nav-container {
        flex-wrap: wrap;
    }

    .nav-links {
        display: none;
        width: 100%;
    }

    .nav-links.is-open {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        background: #ffffff;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        border-radius: 16px;
    }

    .mobile-menu-btn {
        display: block;
    }

    .cards-grid,
    .programs-grid,
    .faq-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .about-section {
        flex-direction: column;
        text-align: center;
    }

    .about-image img {
        margin: 0 auto;
    }

    .slide-content h1 {
        font-size: 32px;
    }

    .testimonial-slide {
        margin: 0;
    }
}
