/* ============================================================
   The Four Wires of You - Complete Site Stylesheet
   Matches original WordPress theme layout
   ============================================================ */

/* Reset & Base */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: Arial, sans-serif; color: #333; background: #e1e1e1; font-size: 14px; line-height: 1.6; }
a { color: #000; text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; border: 0; }
.clr { clear: both; }
.fl { float: left; margin-right: 10px; }
.fr { float: right; margin-left: 10px; }
.tac { text-align: center; }
.b { font-weight: bold; }
.req, .required { color: #c00; }

/* ============================================================
   HEADER & NAVIGATION - matches original theme
   ============================================================ */
.site-header {
    position: relative;
    background: transparent;
}
.header-inner {
    width: 980px;
    margin: 0 auto;
    position: relative;
    text-align: center;
    min-height: 90px;
}

/* Logo - top left */
.logo {
    position: absolute;
    top: 10px;
    left: 0;
    z-index: 999;
}
.logo img { max-width: 200px; }

/* Nav bars - right side, black background */
.main-nav, .second-nav {
    position: absolute;
    right: 0;
    padding: 0 26px;
    background: #000;
    height: 40px;
    line-height: 40px;
    z-index: 999;
    white-space: nowrap;
}
.main-nav { top: 0; }
.second-nav { top: 48px; }

/* Navband image on left of each bar */
.navband-img {
    position: absolute;
    left: -16px;
    top: 0;
    height: 40px;
    width: auto;
}

/* Nav links */
.main-nav a, .second-nav a {
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    margin: 0 18px;
    font-size: 13px;
}
.main-nav a:hover, .second-nav a:hover,
.main-nav a.active, .second-nav a.active {
    color: #f0c040;
    text-decoration: none;
}

/* Colored separator bars */
.sep {
    display: inline-block;
    height: 30px;
    vertical-align: middle;
    width: 3px;
    border-radius: 6px;
}
.sep.yellow { background-color: #ffcc00; }
.sep.red { background-color: #ed1c24; }
.sep.green { background-color: #0ba14b; }
.sep.blue { background-color: #20409a; }

/* Dropdowns */
.has-dropdown { position: relative; display: inline-block; }
.has-dropdown .dropdown {
    display: none;
    position: absolute;
    top: 40px;
    left: 0;
    background: #000;
    z-index: 1000;
    min-width: 180px;
    list-style: none;
    padding: 0;
}
.has-dropdown .dropdown li { display: block; }
.has-dropdown .dropdown li a {
    display: block;
    padding: 8px 15px;
    font-size: 12px;
    border-bottom: 1px solid #333;
    font-weight: normal;
    margin: 0;
    color: #fff;
}
.has-dropdown .dropdown li a:hover { color: #f0c040; }
.has-dropdown:hover .dropdown { display: block; }

/* Mobile menu */
.responsive-menu {
    display: none;
    background: #000;
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    width: 100%;
    text-align: left;
}
.mobile_menu { background: #000; }
.mobile_menu ul { list-style: none; padding: 10px; }
.mobile_menu ul li { display: block; }
.mobile_menu ul li a {
    display: block;
    padding: 8px 15px;
    color: #fff;
    font-weight: bold;
    border-bottom: 1px solid #333;
}
.mobile_menu ul li a:hover { color: #f0c040; }

/* ============================================================
   MAIN CONTENT
   ============================================================ */
main { background: #fff; max-width: 960px; margin: 0 auto; min-height: 400px; }

/* ============================================================
   HOME PAGE HERO - matches original WordPress theme
   ============================================================ */
.home-hero {
    text-align: center;
    background: linear-gradient(to bottom, #ffffff, #ffffff 50%, #c1c1c1);
    color: #000;
    border-bottom: 1px solid #7f7f7f;
    padding-bottom: 30px;
}
.hero-inner {
    width: 980px;
    margin: 0 auto;
    position: relative;
    min-height: 400px;
    padding-top: 20px;
}
.hero-left {
    position: absolute;
    left: 0;
    bottom: 60px;
    max-width: 200px;
    z-index: 1;
}
.hero-right {
    position: absolute;
    right: 0;
    bottom: 0;
    max-width: 250px;
    z-index: 1;
}
.hero-center {
    position: relative;
    z-index: 2;
    max-width: 520px;
    margin: 0 auto;
    padding-top: 10px;
}
.hero-center h1 {
    font-size: 24px;
    color: #000;
    margin: 8px 0;
    font-weight: bold;
    border: none;
    padding: 0;
}
.hero-center p { margin: 6px 0; font-size: 14px; line-height: 1.5; color: #000; }
.intro-text { font-size: 16px; line-height: 1.3; }
.intro-text .big-bold { text-transform: uppercase; font-size: 24px; }
.intro-text .upper-text { text-transform: uppercase; font-weight: 300; font-size: 17px; letter-spacing: 1px; }
.intro-text .program-text { font-size: 40px; font-weight: 300; text-transform: uppercase; letter-spacing: 2px; display: inline-block; }
.tagline { font-size: 10pt; font-style: italic; line-height: 1.4; font-weight: 500; }
.hero-center .btn-test { margin: 10px 0; max-width: 260px; cursor: pointer; transition: transform 0.2s; }
.hero-center .btn-test:hover { transform: scale(1.05); }
.author-credit { font-size: 11px; margin-top: 8px; color: #333; }

/* Homepage Three Boxes */
.home-boxes-area {
    background: linear-gradient(to bottom, #a4a4a4, #e1e1e1 200px, #e1e1e1);
    padding: 20px 0 10px;
}
.home-boxes {
    display: flex;
    justify-content: center;
    gap: 3px;
    max-width: 980px;
    margin: 0 auto;
    padding: 0 10px;
}
.home-box {
    position: relative;
    width: 324px;
    height: 208px;
    border: 1px solid #c1c1c1;
    background-color: #fff;
    border-radius: 6px;
    box-shadow: #ccc 0px 0px 6px inset;
    overflow: hidden;
    font-size: 12px;
    line-height: 18px;
    color: #666;
}
.home-box .box-text {
    position: absolute; top: 15px; left: 15px;
    display: block; width: 190px;
}
.home-box .box-text h3 {
    color: #000; font-size: 14px; font-weight: bold;
    margin-bottom: 6px; border: none; padding: 0;
}
.home-box .box-img-right { float: right; margin: 10px 10px 0 10px; max-width: 120px; }
.home-box .box-center-img { margin-top: 8px; max-width: 280px; }
.home-box .box-btn-area {
    position: absolute; bottom: 0; left: 0;
    display: block; width: 100%; height: 80px;
    text-align: center;
    border-radius: 0 0 6px 6px;
    background: linear-gradient(to bottom, #f6f6f6, #f6f6f6 30%, #c1c1c1);
    box-shadow: #ccc 0px 0px 10px inset;
}
.home-box .box-btn-area img { margin-top: 8px; }

/* Homepage Blog & Calendar Bottom */
.home-bottom-area { background: #e1e1e1; }
.home-bottom {
    max-width: 990px;
    margin: 0 auto;
    padding: 20px 20px 10px;
    background: rgba(255,255,255,0.7);
    font-size: 12px;
    line-height: 18px;
    color: #4a4545;
}
.home-blog { float: left; width: 455px; padding-right: 20px; }
.home-blog img.fl { margin-right: 15px; max-width: 80px; }
.home-blog h3 { font-size: 15px; margin-bottom: 6px; border: none; padding: 0; }
.home-blog h3 a { color: #000; }
.home-blog h5 { font-size: 13px; font-weight: bold; padding-top: 8px; margin-bottom: 6px; }
.home-blog p { margin: 0 0 8px; }
.home-blog a { color: #000; font-size: 12px; }
.home-calendar { float: left; width: 455px; padding-left: 20px; }
.home-calendar img.fl { margin-right: 15px; max-width: 70px; }
.home-calendar h3 { font-size: 15px; margin-bottom: 10px; border: none; padding: 0; color: #000; }
.home-calendar ul { list-style: none; padding: 0; margin: 0; }
.home-calendar li { padding: 3px 0; font-size: 12px; }

/* Homepage Subfooter */
.home-subfooter {
    max-width: 950px;
    margin: 0 auto;
    padding: 15px 10px;
    font-size: 12px;
    color: #474646;
}
.subfooter-left { float: left; }
.subfooter-right { float: right; text-align: right; }
.subfooter-right img { vertical-align: middle; margin-left: 3px; }
.subfooter-right a { color: #474646; text-decoration: none; }

/* ============================================================
   PAGE CONTENT (sub-pages: general)
   ============================================================ */
.page-content { padding: 20px 30px 30px; }
.page-content h1 { font-size: 24px; color: #2c3e7c; margin-bottom: 15px; border-bottom: 2px solid #f0c040; padding-bottom: 8px; }
.page-content h2 { font-size: 20px; color: #2c3e7c; margin: 20px 0 10px; }
.page-content p { margin-bottom: 12px; }

/* About Page */
.about-page .tagline { font-style: italic; font-size: 18px; color: #2c3e7c; margin-bottom: 20px; text-align: center; }

/* Four Types */
.four-types { display: flex; flex-wrap: wrap; gap: 15px; margin-top: 20px; }
.type-card { flex: 1; min-width: 200px; padding: 15px; border-radius: 5px; color: #fff; }
.type-card h3 { margin-bottom: 8px; }
.type-card.sanguine { background: #FFD700; color: #333; }
.type-card.choleric { background: #E74C3C; }
.type-card.melancholy { background: #3498DB; }
.type-card.phlegmatic { background: #27AE60; }

/* Products */
.product-grid { display: flex; flex-wrap: wrap; gap: 15px; margin-top: 15px; }
.product-item { flex: 1; min-width: 200px; border: 1px solid #ddd; padding: 15px; border-radius: 5px; }
.product-item h3 { color: #2c3e7c; margin-bottom: 5px; }
.product-item:hover { border-color: #2c3e7c; background: #f9f9ff; }
.product-detail .price { font-size: 24px; color: #e74c3c; font-weight: bold; margin: 10px 0; }

/* FAQ */
.faq-item { margin-bottom: 20px; padding: 15px; border: 1px solid #eee; border-radius: 5px; }
.faq-item h3 { color: #2c3e7c; margin-bottom: 8px; }

/* Testimonials */
.testimonial-item { margin-bottom: 20px; padding: 20px; border-left: 4px solid #f0c040; background: #fafafa; }
.testimonial-item .author { font-weight: bold; color: #2c3e7c; margin-top: 10px; }

/* Contact */
.contact-form label { display: block; margin-bottom: 3px; font-weight: bold; color: #2c3e7c; }
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea { width: 100%; max-width: 400px; padding: 8px; border: 1px solid #ccc; border-radius: 3px; margin-bottom: 12px; font-family: inherit; font-size: 14px; }
.contact-form textarea { height: 120px; }

/* Buttons */
.btn { display: inline-block; padding: 8px 20px; background: #2c3e7c; color: #fff; border: none; border-radius: 3px; cursor: pointer; font-size: 14px; text-decoration: none; }
.btn:hover { background: #1a2a5c; text-decoration: none; color: #fff; }
.btn-sm { padding: 5px 12px; font-size: 12px; }

/* ============================================================
   QUIZ / TEST PAGE
   ============================================================ */
#test_top { display: block; width: 100%; margin-top: 0; }
#test_header { text-align: center; color: #2c3e7c; font-size: 22px; padding: 10px 20px; }
#test_header b { font-size: 26px; }
#susan_test { position: absolute; top: 10px; right: 30px; max-width: 160px; }
.test-page { position: relative; }

.quiz-step { padding: 10px 0; }
.quiz-step h2 { color: #2c3e7c; font-size: 20px; margin-bottom: 15px; border-bottom: 2px solid #f0c040; padding-bottom: 8px; }
.quiz-instructions { background: #f5f5f5; padding: 15px; border-radius: 5px; margin-bottom: 20px; font-size: 13px; }
.quiz-instructions p { margin-bottom: 8px; }

.quiz-info-form { max-width: 500px; margin: 0 auto; }
.quiz-info-form label { display: block; margin-bottom: 3px; font-weight: bold; color: #2c3e7c; margin-top: 10px; }
.quiz-info-form label.inline { display: inline; font-weight: normal; margin-left: 5px; }
.quiz-info-form input[type="text"],
.quiz-info-form input[type="email"] { width: 100%; padding: 8px; border: 1px solid #ccc; border-radius: 3px; font-size: 14px; margin-bottom: 5px; }
.quiz-info-form input[type="radio"] { margin: 5px 0; }
.quiz-info-form p { margin: 12px 0 5px; font-weight: bold; color: #2c3e7c; }
#friendnamediv, #otherdiv { margin-left: 20px; margin-bottom: 5px; }
#friendnamediv input, #otherdiv input { width: 200px; padding: 5px; border: 1px solid #ccc; border-radius: 3px; }

.btn-quiz { display: inline-block; padding: 12px 25px; background: #2c3e7c; color: #fff; border: none; border-radius: 4px; cursor: pointer; font-size: 15px; font-weight: bold; margin: 15px 5px; transition: background 0.2s; text-decoration: none; }
.btn-quiz:hover { background: #1a2a5c; text-decoration: none; color: #fff; }
.btn-back { background: #666; }
.btn-back:hover { background: #444; }

.quiz-table { width: 100%; border-collapse: collapse; margin-bottom: 20px; }
.quiz-table thead th { background: #2c3e7c; color: #fff; padding: 8px; font-size: 13px; text-align: center; }
.quiz-table tbody tr { border-bottom: 1px solid #e0e0e0; }
.quiz-table tbody tr:nth-child(odd) { background: #f9f9f9; }
.quiz-table tbody tr:hover { background: #eef2ff; }
.quiz-table td { padding: 6px 8px; vertical-align: middle; }
.quiz-table td.row-num { font-weight: bold; text-align: center; width: 35px; color: #666; }
.quiz-table td.selected { background: #d4e6ff; border-radius: 3px; }

.quiz-label { display: flex; align-items: center; cursor: pointer; padding: 3px 5px; border-radius: 3px; }
.quiz-label:hover { background: #e8f0ff; }
.quiz-label input[type="checkbox"] { margin-right: 6px; flex-shrink: 0; }
.quiz-label span { font-size: 13px; }
.quiz-nav { text-align: center; margin: 20px 0; }

.results-summary { padding: 10px 0; }
.scores-table { width: 100%; border-collapse: collapse; margin: 15px 0; }
.scores-table thead th { background: #2c3e7c; color: #fff; padding: 8px 12px; text-align: center; }
.scores-table tbody td { padding: 8px 12px; border-bottom: 1px solid #ddd; text-align: center; }
.scores-table .primary-row { background: #f0f5ff; font-weight: bold; }
.primary-result, .secondary-result { padding: 15px; margin: 15px 0; background: #f9f9f9; border-radius: 5px; }
.primary-result h3, .secondary-result h3 { margin-bottom: 8px; }
.combo-note { padding: 15px; background: #f5f5f5; border-radius: 5px; margin: 15px 0; }
.masking-alert { margin: 15px 0; }
.success-msg { color: #155724; background: #d4edda; border: 1px solid #c3e6cb; padding: 12px; border-radius: 4px; margin: 10px 0; }
.error-msg { color: #721c24; background: #f8d7da; border: 1px solid #f5c6cb; padding: 12px; border-radius: 4px; margin: 10px 0; }
.results-cta { text-align: center; margin: 25px 0 15px; padding: 20px; background: #f0f5ff; border-radius: 5px; }
.results-cta h3 { color: #2c3e7c; margin-bottom: 12px; }
.schedule-workshop { text-align: center; margin: 15px 0; padding: 15px; border-top: 2px solid #f0c040; }
.schedule-workshop h3 { color: #2c3e7c; margin-bottom: 8px; }

/* ============================================================
   FOOTER (sub-pages footer.php)
   ============================================================ */
.site-footer { background: #f0f0f0; max-width: 960px; margin: 0 auto; }
.site-footer .container { padding: 20px; }
.footer-grid { display: flex; flex-wrap: wrap; gap: 15px; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid #ddd; }
.footer-box { flex: 1; min-width: 250px; padding: 12px; background: #fff; border-radius: 5px; box-shadow: 0 1px 3px rgba(0,0,0,0.1); text-align: center; }
.footer-box h3 { color: #2c3e7c; font-size: 15px; margin-bottom: 8px; }
.footer-box p { font-size: 13px; margin-bottom: 8px; }
.footer-box img { max-width: 100%; margin-bottom: 8px; }
.footer-box .footer-img { max-width: 100px; float: right; margin: 0 0 5px 10px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; padding: 15px 0; }
.footer-info { font-size: 12px; color: #666; }
.footer-info p { margin-bottom: 3px; }
.footer-social { font-size: 12px; }
.footer-social span { margin-right: 5px; }
.footer-social img { height: 25px; vertical-align: middle; margin: 0 3px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
    .header-inner { width: 100%; padding: 0 10px; }
    .logo { position: relative; top: auto; left: auto; text-align: center; display: block; }
    .logo img { max-width: 180px; }
    .main-nav, .second-nav { position: relative; top: auto; right: auto; display: none; }
    .responsive-menu { display: block; }
    .hero-inner { width: 100%; padding: 0 15px; }
    .hero-left, .hero-right { display: none; }
    .home-hero { min-height: auto; padding: 20px 0; }
    .home-boxes { flex-wrap: wrap; }
    .home-box { width: 100%; max-width: 400px; margin: 5px auto; }
    .home-blog, .home-calendar { float: none; width: 100%; padding: 0; }
    main { max-width: 100%; }
}
@media (max-width: 767px) {
    #susan_test { display: none; }
    .hero-center h1 { font-size: 22px; }
    .footer-grid { flex-direction: column; }
    .footer-bottom { flex-direction: column; text-align: center; gap: 10px; }
    .four-types { flex-direction: column; }
    .product-grid { flex-direction: column; }
    .quiz-table { font-size: 12px; }
    .quiz-table td { padding: 4px; }
    .quiz-label span { font-size: 11px; }
    .page-content { padding: 15px; }
}

/* Buy Now button */
.btn-buy-now {
    display: inline-block;
    background: #FF9900;
    color: #111;
    font-size: 18px;
    font-weight: 800;
    padding: 15px 40px;
    border-radius: 6px;
    text-decoration: none;
    margin-top: 15px;
    letter-spacing: 0.5px;
    box-shadow: 0 6px 0 #b36a00, 0 8px 15px rgba(0,0,0,0.3);
    transition: all 0.15s ease;
    position: relative;
    top: 0;
}
.btn-buy-now:hover {
    background: #ffaa22;
    color: #111;
    box-shadow: 0 8px 0 #b36a00, 0 12px 20px rgba(0,0,0,0.35);
    top: -2px;
}
.btn-buy-now:active {
    box-shadow: 0 2px 0 #b36a00, 0 3px 8px rgba(0,0,0,0.2);
    top: 4px;
}
