/*
Theme Name: VerbumCare Corporate
Theme URI: https://verbumcare.com
Author: VerbumCare
Description: A warm institutional WordPress theme for VerbumCare - AI documentation platform for Japanese care facilities.
Version: 1.0.3
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: verbumcare
*/

/* ==========================================================================
   CSS Custom Properties (Design Tokens)
   ========================================================================== */

:root {
    --vc-navy: #3D5A6C;
    --vc-green: #5B8558;
    --vc-cream: #F8F6F3;
    --vc-dark: #2C3E50;
    --vc-white: #FFFFFF;
    --vc-radius: 24px;
    --vc-radius-pill: 99px;
    --vc-shadow-soft: 0 4px 20px rgba(61, 90, 108, 0.08);
    --vc-shadow-deep: 0 12px 40px rgba(61, 90, 108, 0.15);
    --vc-transition: all 0.3s ease;
}

/* ==========================================================================
   Base Styles
   ========================================================================== */

body {
    background-color: var(--vc-cream);
    color: var(--vc-dark);
}

/* ==========================================================================
   Glassmorphism Effect
   ========================================================================== */

.vc-glass {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: var(--vc-radius);
}

/* Fallback for browsers without backdrop-filter support */
@supports not (backdrop-filter: blur(12px)) {
    .vc-glass {
        background: rgba(255, 255, 255, 0.95);
    }
}

/* ==========================================================================
   Gradient Text
   ========================================================================== */

.vc-gradient-text {
    background: linear-gradient(135deg, #3D5A6C 0%, #2C3E50 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: #3D5A6C; /* Fallback */
}

/* ==========================================================================
   Navigation / Header
   ========================================================================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    transition: var(--vc-transition);
}

.site-header.scrolled {
    box-shadow: var(--vc-shadow-soft);
}

.nav-link {
    color: var(--vc-dark);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    transition: var(--vc-transition);
}

.nav-link:hover {
    color: var(--vc-navy);
}

.nav-cta {
    background-color: var(--vc-navy);
    color: var(--vc-white) !important;
    border-radius: var(--vc-radius-pill);
    padding: 12px 24px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--vc-transition);
}

.nav-cta:hover {
    background-color: var(--vc-dark);
    transform: translateY(-2px);
    box-shadow: var(--vc-shadow-soft);
}

/* ==========================================================================
   Shadow Utilities
   ========================================================================== */

.vc-shadow-soft {
    box-shadow: var(--vc-shadow-soft);
}

.vc-shadow-deep {
    box-shadow: var(--vc-shadow-deep);
}

/* ==========================================================================
   Card Styles
   ========================================================================== */

.vc-card {
    background: var(--vc-white);
    border-radius: var(--vc-radius);
    box-shadow: var(--vc-shadow-soft);
    padding: 32px;
    transition: var(--vc-transition);
}

.vc-card:hover {
    box-shadow: var(--vc-shadow-deep);
    transform: translateY(-4px);
}

/* Team Card */
.vc-team-card {
    background: var(--vc-white);
    border-radius: var(--vc-radius);
    padding: 24px;
    text-align: center;
    transition: var(--vc-transition);
}

.vc-team-card:hover {
    box-shadow: var(--vc-shadow-deep);
    transform: translateY(-4px);
}

.vc-team-photo {
    border-radius: 50%;
    width: 120px;
    height: 120px;
    object-fit: cover;
    margin-bottom: 16px;
}

.vc-team-photo img {
    border-radius: 50%;
}

/* Trust Card */
.vc-trust-card {
    background: var(--vc-white);
    border-radius: var(--vc-radius);
    padding: 32px;
    text-align: center;
    box-shadow: var(--vc-shadow-soft);
}

/* Step Card (How It Works) */
.vc-step-card {
    text-align: center;
    transition: var(--vc-transition);
}

.vc-step-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--vc-shadow-soft);
}

/* Testimonial Card */
.vc-testimonial-card {
    box-shadow: var(--vc-shadow-soft);
    transition: var(--vc-transition);
}

.vc-testimonial-card:hover {
    box-shadow: var(--vc-shadow-deep);
    transform: translateY(-4px);
}

/* Pricing Card */
.vc-pricing-card {
    text-align: center;
    transition: var(--vc-transition);
}

.vc-pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--vc-shadow-deep);
}

.vc-pricing-featured {
    transform: scale(1.05);
    box-shadow: var(--vc-shadow-deep);
}

.vc-pricing-featured:hover {
    transform: scale(1.05) translateY(-4px);
}

/* Contact Card */
.vc-contact-card {
    text-align: center;
    transition: var(--vc-transition);
}

.vc-contact-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--vc-shadow-soft);
}

/* FAQ Details */
.wp-block-details {
    transition: var(--vc-transition);
}

.wp-block-details:hover {
    box-shadow: var(--vc-shadow-soft);
}

.wp-block-details summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--vc-navy);
}

.wp-block-details[open] summary {
    margin-bottom: 8px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.vc-hero-image {
    border-radius: var(--vc-radius);
    box-shadow: var(--vc-shadow-deep);
    overflow: hidden;
}

.vc-hero-image img {
    border-radius: var(--vc-radius);
}

/* ==========================================================================
   Feature Demo Card
   ========================================================================== */

.vc-demo-card {
    background: var(--vc-white);
    border-radius: var(--vc-radius);
    padding: 32px;
    box-shadow: var(--vc-shadow-soft);
}

.vc-transformation {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.vc-transformation-arrow {
    color: var(--vc-green);
    font-size: 24px;
    font-weight: bold;
}

.vc-billing-code {
    background: rgba(91, 133, 88, 0.1);
    color: var(--vc-green);
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 700;
}

.vc-amount {
    color: var(--vc-green);
    font-size: 24px;
    font-weight: 900;
}

/* ==========================================================================
   Dashboard Visual (Dark Mode)
   ========================================================================== */

.vc-dashboard {
    background: linear-gradient(135deg, #1a2634 0%, #2C3E50 100%);
    border-radius: var(--vc-radius);
    padding: 32px;
    color: var(--vc-white);
    box-shadow: var(--vc-shadow-deep);
}

.vc-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.vc-status-dot.active {
    background: var(--vc-green);
    box-shadow: 0 0 8px var(--vc-green);
}

.vc-status-dot.warning {
    background: #f0ad4e;
    box-shadow: 0 0 8px #f0ad4e;
}

/* ==========================================================================
   Social Icons
   ========================================================================== */

.vc-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(61, 90, 108, 0.1);
    color: var(--vc-navy);
    text-decoration: none;
    transition: var(--vc-transition);
}

.vc-social-icon:hover {
    background: var(--vc-navy);
    color: var(--vc-white);
}

/* ==========================================================================
   Button Variants
   ========================================================================== */

.wp-block-button.is-style-outline .wp-block-button__link {
    background: transparent;
    border: 2px solid var(--vc-navy);
    color: var(--vc-navy);
}

.wp-block-button.is-style-outline .wp-block-button__link:hover {
    background: var(--vc-navy);
    color: var(--vc-white);
}

/* ==========================================================================
   Section Spacing
   ========================================================================== */

.vc-section {
    padding-top: 80px;
    padding-bottom: 80px;
}

.vc-section-lg {
    padding-top: 100px;
    padding-bottom: 100px;
}

/* ==========================================================================
   Responsive Styles
   ========================================================================== */

/* Tablet and below */
@media (max-width: 1024px) {
    :root {
        --vc-radius: 20px;
    }
    
    .vc-section {
        padding-top: 60px;
        padding-bottom: 60px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    /* Stack columns vertically */
    .wp-block-columns {
        flex-direction: column !important;
    }
    
    .wp-block-column {
        flex-basis: 100% !important;
        width: 100% !important;
    }
    
    /* Reduce heading sizes */
    h1, .has-huge-font-size {
        font-size: 36px !important;
    }
    
    h2, .has-xx-large-font-size {
        font-size: 28px !important;
    }
    
    /* Adjust section padding */
    .vc-section,
    .vc-section-lg {
        padding-top: 48px;
        padding-bottom: 48px;
    }
    
    /* Team grid adjustments */
    .vc-team-card {
        margin-bottom: 24px;
    }
    
    /* Navigation mobile */
    .site-header {
        padding: 12px 16px;
    }
    
    .nav-link {
        padding: 8px 12px;
        font-size: 14px;
    }
    
    .nav-cta {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    /* Hero adjustments */
    .vc-hero-image {
        margin-top: 32px;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    h1, .has-huge-font-size {
        font-size: 28px !important;
        letter-spacing: -1px;
    }
    
    .wp-block-buttons {
        flex-direction: column;
    }
    
    .wp-block-button {
        width: 100%;
    }
}

/* ==========================================================================
   Accessibility
   ========================================================================== */

/* Focus states */
a:focus,
button:focus,
.wp-block-button__link:focus {
    outline: 2px solid var(--vc-navy);
    outline-offset: 2px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ==========================================================================
   Print Styles
   ========================================================================== */

@media print {
    .site-header,
    .wp-block-button {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}
