/*
Theme Name: Office FENEX
*/

/* =========================================
   Entry Content Styles
   ========================================= */


.entry-content {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 16px;
}

/* H2 Heading Style - Premium Vertical Accent */
.entry-content h2 {
    position: relative;
    padding-left: 1rem;
    margin-top: 4rem;
    margin-bottom: 2rem;
    font-family: "Cinzel", "Noto Serif JP", serif;
    font-weight: 700;
    font-size: 1.75rem;
    color: #E5E5E5;
    letter-spacing: 0.1em;
    border-left: 4px solid #C5A059;
    /* Fenex Gold */
    background: linear-gradient(90deg, rgba(197, 160, 89, 0.05) 0%, transparent 100%);
    display: flex;
    align-items: center;
    min-height: 2.5rem;
}

/* H3 Heading Style - Underline Gradient */
.entry-content h3 {
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 700;
    font-size: 1.4rem;
    color: #FFFFFF;
    letter-spacing: 0.05em;
    border-bottom: 1px solid rgba(197, 160, 89, 0.4);
}

/* Paragraph spacing */
.entry-content p {
    margin-bottom: 1.8rem;
    line-height: 2.2;
    color: #CBD5E1;
    /* Slate-300 equivalent */
}

/* List styling */
.entry-content ul,
.entry-content ol {
    margin-bottom: 1.8rem;
    margin-left: 1.5rem;
    color: #CBD5E1;
    line-height: 2.2;
}

.entry-content ul {
    list-style-type: disc;
}

.entry-content ol {
    list-style-type: decimal;
}

.entry-content li {
    margin-bottom: 0.5rem;
}

/* Strong emphasis */
.entry-content strong {
    color: #FFFFFF;
    font-weight: 700;
    background: linear-gradient(transparent 60%, rgba(197, 160, 89, 0.2) 60%);
}

/* Blockquote */
.entry-content blockquote {
    border-left: 2px solid #8B0000;
    /* Fenex Red */
    padding-left: 1rem;
    margin: 2rem 0;
    font-style: italic;
    color: #A3A3A3;
    background: rgba(255, 255, 255, 0.02);
    padding: 1.5rem;
}

/* =========================================
   FENEX Cockpit Styles
   ========================================= */

.cockpit-container {
    background-image:
        radial-gradient(circle at 10% 20%, rgba(20, 20, 20, 0.8) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(139, 0, 0, 0.05) 0%, transparent 20%);
}

.cockpit-card {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    height: 180px;
    backdrop-filter: blur(5px);
}

.cockpit-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(197, 160, 89, 0.3);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

.card-icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
}

.card-icon-wrapper.border-fenex-red {
    border-color: rgba(139, 0, 0, 0.3);
}

.cockpit-card:hover .card-icon-wrapper {
    transform: scale(1.1);
    background: rgba(0, 0, 0, 0.6);
    border-color: rgba(197, 160, 89, 0.8);
}

.card-title {
    color: #E5E5E5;
    font-family: "Cinzel", serif;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.25rem;
    letter-spacing: 0.05em;
}

.card-desc {
    color: #888;
    font-size: 0.75rem;
    font-family: "Noto Sans JP", sans-serif;
}

/* Glow Effects */
.card-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(197, 160, 89, 0.15) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 0;
}

.card-glow.red {
    background: radial-gradient(circle, rgba(139, 0, 0, 0.2) 0%, transparent 60%);
}

.cockpit-card:hover .card-glow {
    opacity: 1;
}

.cockpit-card.dashed {
    border-style: dashed;
    border-color: rgba(255, 255, 255, 0.1);
}

.cockpit-card.dashed:hover {
    border-color: rgba(197, 160, 89, 0.3);
    background: rgba(255, 255, 255, 0.02);
}

/* Textarea Scrollbar */
.custom-scrollbar::-webkit-scrollbar {
    width: 4px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: transparent;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* =========================================
   Contact Form 7 FENEX Overrides
   ========================================= */

/* Inputs & Textareas */
.cf7-container input[type="text"],
.cf7-container input[type="email"],
.cf7-container input[type="tel"],
.cf7-container textarea,
.wpcf7-form-control:not(.wpcf7-submit) {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.05);
    /* bg-white/5 */
    border: 1px solid rgba(255, 255, 255, 0.1);
    /* border-white/10 */
    border-radius: 0.375rem;
    /* rounded-md */
    color: #E5E7EB;
    /* text-gray-200 */
    padding: 1rem 1.5rem;
    /* px-6 py-4 */
    font-size: 1.125rem;
    /* text-lg */
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    /* font-sans */
    transition: all 0.3s ease;
    outline: none;
    margin-bottom: 24px;
}

.cf7-container input::placeholder,
.cf7-container textarea::placeholder {
    color: #6B7280;
    /* text-gray-500 */
}

.cf7-container input:focus,
.cf7-container textarea:focus {
    background-color: rgba(255, 255, 255, 0.1);
    /* focus:bg-white/10 */
    border-color: #C5A059;
    /* focus:border-fenex-gold */
    box-shadow: 0 0 0 1px rgba(197, 160, 89, 0.3);
}

/* Submit Button Decoration */
.cf7-container input[type="submit"] {
    position: relative;
    display: inline-block;
    padding: 1.5rem 4rem;
    /* py-6 px-16 */
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 0.75rem;
    /* text-xs */
    font-weight: 700;
    letter-spacing: 0.3em;
    cursor: pointer;
    transition: all 0.5s ease;
    overflow: hidden;
    margin-top: 2rem;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.cf7-container input[type="submit"]:hover {
    background: rgba(139, 0, 0, 0.8);
    /* bg-fenex-redish */
    border-bottom-color: #8B0000;
    box-shadow: 0 0 20px rgba(139, 0, 0, 0.4);
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* Center submit wrapper if valid structure */
.wpcf7-submit {
    width: auto !important;
}

.cf7-container p {
    margin-bottom: 0;
}

/* Response Message Styling */
.wpcf7-response-output {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #E5E7EB;
    font-size: 0.9rem;
    /* text-sm */
    padding: 1rem 1.5rem !important;
    margin-top: 2rem !important;
    margin-bottom: 0 !important;
    border-radius: 0.375rem;
    text-align: center;
    font-family: "Noto Sans JP", sans-serif;
    animation: fadeIn 0.5s ease-out;
}

.wpcf7-not-valid-tip {
    color: #EF4444 !important;
    /* text-red-500 */
    font-size: 0.8rem;
    margin-top: 0.25rem;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    /* font-mono */
}

/* Success State */
form.sent .wpcf7-response-output {
    border-color: #C5A059 !important;
    /* Fenex Gold */
    background: rgba(197, 160, 89, 0.1);
    color: #C5A059;
}

/* Error State */
form.invalid .wpcf7-response-output,
form.failed .wpcf7-response-output,
form.spam .wpcf7-response-output {
    border-color: #8B0000 !important;
    /* Fenex Red */
    background: rgba(139, 0, 0, 0.1);
    color: #F87171;
    /* brighter red for text */
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}