/* ==========================================================================
   West Coast India — enhancements layer
   Loaded after the theme so it can override safely. Keep site-specific
   changes here rather than editing style.css, so the theme stays upgradable.
   ========================================================================== */

:root {
    --wci-accent: #ffb400;
    --wci-accent-dark: #d99900;
    --wci-dark: #1c1c1c;
    --wci-darker: #151515;
    --wci-text-muted: #b5b5b5;
    --wci-border: rgba(255, 180, 0, 0.25);
}

/* --------------------------------------------------------------------------
   1. Accessibility helpers
   -------------------------------------------------------------------------- */

/* Visible only to screen readers and crawlers. */
.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Keyboard users can jump straight past the navigation. */
.skip-to-content {
    position: absolute;
    top: -100px;
    left: 8px;
    z-index: 100000;
    padding: 12px 22px;
    background: var(--wci-accent);
    color: #111;
    font-weight: 700;
    border-radius: 0 0 6px 6px;
    text-decoration: none;
    transition: top 0.2s ease-in-out;
}

.skip-to-content:focus {
    top: 0;
    color: #111;
    outline: 3px solid #fff;
}

/* Make keyboard focus clearly visible everywhere. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--wci-accent);
    outline-offset: 2px;
}

/* Respect users who ask for reduced motion. */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}

/* --------------------------------------------------------------------------
   2. Anti-spam honeypot — hidden from people, visible to bots
   -------------------------------------------------------------------------- */
.hp-field {
    position: absolute !important;
    left: -9999px !important;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* --------------------------------------------------------------------------
   3. Quick-contact call to action
   -------------------------------------------------------------------------- */
.quick-contact-actions {
    margin-top: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

.quick-contact-actions .custom-button {
    margin: 0;
    min-width: 240px;
}

/* --------------------------------------------------------------------------
   4. Footer
   -------------------------------------------------------------------------- */
.footer {
    background: var(--wci-darker);
    padding: 70px 0 0;
    color: var(--wci-text-muted);
}

.footer .footer-top {
    padding-bottom: 45px;
}

.footer .footer-col {
    margin-bottom: 34px;
}

.footer .footer-logo {
    height: auto;
    max-width: 160px;
    margin-bottom: 20px;
}

.footer .footer-about {
    font-size: 15px;
    line-height: 1.8;
    margin: 0;
    max-width: 420px;
}

.footer .footer-heading {
    font-size: 17px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #fff;
    margin: 0 0 22px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--wci-border);
    display: inline-block;
}

.footer .footer-links,
.footer .footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer .footer-links li,
.footer .footer-contact li {
    margin-bottom: 12px;
    line-height: 1.6;
}

.footer .footer-links a,
.footer .footer-contact a,
.footer .footer-credit a {
    color: var(--wci-text-muted);
    text-decoration: none;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer .footer-links a:hover,
.footer .footer-links a:focus,
.footer .footer-contact a:hover,
.footer .footer-contact a:focus,
.footer .footer-credit a:hover,
.footer .footer-credit a:focus {
    color: var(--wci-accent);
}

.footer .footer-links a:hover {
    padding-left: 6px;
}

.footer .footer-contact i {
    color: var(--wci-accent);
    width: 20px;
    margin-right: 6px;
}

.footer .footer-address {
    font-style: normal;
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 26px 0 22px;
}

.footer .footer-bottom p {
    margin: 0 0 6px;
    font-size: 14px;
}

.footer .footer-credit {
    font-size: 13px;
    opacity: 0.75;
}

.footer .heart {
    color: #e0393e;
}

/* --------------------------------------------------------------------------
   5. Contact form feedback
   -------------------------------------------------------------------------- */
.output_message_holder {
    margin-top: 18px;
}

.output_message {
    padding: 14px 18px;
    border-radius: 4px;
    margin: 0;
    font-weight: 600;
}

.output_message.success {
    background: rgba(40, 167, 69, 0.15);
    border: 1px solid #28a745;
    color: #6ee787;
}

.output_message.error {
    background: rgba(220, 53, 69, 0.15);
    border: 1px solid #dc3545;
    color: #ff8f99;
}

.formcontact button[disabled],
.formcontact input[type="submit"][disabled] {
    opacity: 0.6;
    cursor: not-allowed;
}

/* --------------------------------------------------------------------------
   6. Small polish
   -------------------------------------------------------------------------- */
/* Stop images from overflowing their container on small screens. */
img {
    max-width: 100%;
}

/* The embedded map should not be able to scroll the page on touch devices. */
.gmap_container iframe {
    display: block;
    width: 100%;
    border: 0;
}

@media (max-width: 575px) {
    .quick-contact-actions .custom-button {
        min-width: 100%;
    }

    .footer {
        padding-top: 50px;
        text-align: center;
    }

    .footer .footer-about {
        margin-inline: auto;
    }
}
