/*
Theme Name: Victoria
Theme URI: https://arifiskandar.com
Author: Arif Iskandar
Author URI: https://arifiskandar.com
Description: A custom WordPress theme for Victoria mobile mechanics.
Version: 1.3
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: victoria
*/

/* Custom Gradient Text */
.text-gradient {
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-image: linear-gradient(to right, #00a7e5, #133c8b);
}

/* Mobile Menu Transition */
#mobile-menu {
    transition: max-height 0.3s ease-in-out;
    max-height: 0;
    overflow: hidden;
}
#mobile-menu.open {
    max-height: 400px;
}

/* ============================================
   PROSE TYPOGRAPHY STYLES
   For posts, pages, and content areas
   ============================================ */

.prose {
    color: #475569; /* slate-600 */
    line-height: 1.75;
}

.prose-lg {
    font-size: 1.125rem;
}

/* Headings */
.prose h1 {
    color: #0f172a; /* slate-900 */
    font-weight: 800;
    font-size: 2.25rem;
    margin-top: 0;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.prose h2 {
    color: #0f172a;
    font-weight: 700;
    font-size: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #00a7e5; /* brand-light */
    line-height: 1.3;
}

.prose h3 {
    color: #1e293b; /* slate-800 */
    font-weight: 600;
    font-size: 1.25rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.prose h4 {
    color: #334155; /* slate-700 */
    font-weight: 600;
    font-size: 1.125rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

/* Paragraphs */
.prose p {
    margin-top: 1.25rem;
    margin-bottom: 1.25rem;
}

.prose p:first-child {
    margin-top: 0;
}

/* Links */
.prose a {
    color: #0284c7; /* sky-600 */
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 500;
    transition: color 0.2s;
}

.prose a:hover {
    color: #0369a1; /* sky-700 */
}

/* Lists */
.prose ul {
    list-style-type: disc;
    padding-left: 1.625rem;
    margin-top: 1.25rem;
    margin-bottom: 1.25rem;
}

.prose ol {
    list-style-type: decimal;
    padding-left: 1.625rem;
    margin-top: 1.25rem;
    margin-bottom: 1.25rem;
}

.prose li {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    padding-left: 0.375rem;
}

.prose li::marker {
    color: #00a7e5; /* brand-light */
}

.prose ul ul,
.prose ol ol,
.prose ul ol,
.prose ol ul {
    margin-top: 0.75rem;
    margin-bottom: 0.75rem;
}

/* Blockquotes */
.prose blockquote {
    border-left: 4px solid #00a7e5;
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: #64748b;
    background: #f8fafc;
    padding: 1rem 1.5rem;
    border-radius: 0 0.5rem 0.5rem 0;
}

/* Code */
.prose code {
    background: #f1f5f9;
    padding: 0.2rem 0.4rem;
    border-radius: 0.25rem;
    font-size: 0.875em;
    color: #0f172a;
}

.prose pre {
    background: #1e293b;
    color: #e2e8f0;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    overflow-x: auto;
    margin: 1.5rem 0;
}

.prose pre code {
    background: transparent;
    padding: 0;
    color: inherit;
}

/* Images */
.prose img {
    border-radius: 0.75rem;
    margin: 2rem 0;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}

.prose figure {
    margin: 2rem 0;
}

.prose figcaption {
    color: #64748b;
    font-size: 0.875rem;
    margin-top: 0.75rem;
    text-align: center;
}

/* Tables */
.prose table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
}

.prose th {
    background: #f1f5f9;
    font-weight: 600;
    text-align: left;
    padding: 0.75rem 1rem;
    border-bottom: 2px solid #e2e8f0;
}

.prose td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.prose tr:hover {
    background: #f8fafc;
}

/* Horizontal Rule */
.prose hr {
    border: 0;
    border-top: 2px solid #e2e8f0;
    margin: 3rem 0;
}

/* Strong & Emphasis */
.prose strong {
    color: #0f172a;
    font-weight: 600;
}

.prose em {
    font-style: italic;
}

/* First paragraph lead style */
.prose > p:first-of-type {
    font-size: 1.2em;
    color: #334155;
}

/* ============================================
   VICTORIA SHORTCODE STYLES
   Reusable blog components
   ============================================ */

/* === BUTTONS === */
.va-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    padding: 0.75rem 1.5rem !important;
    font-weight: 700 !important;
    border-radius: 9999px !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    cursor: pointer !important;
    border: 2px solid transparent !important;
    line-height: 1.4 !important;
}

.va-btn--primary {
    background-color: #133c8b !important;
    color: #fff !important;
    box-shadow: 0 4px 14px rgba(19, 60, 139, 0.3) !important;
}

.va-btn--primary:hover {
    background-color: #00a7e5 !important;
    color: #fff !important;
    box-shadow: 0 6px 20px rgba(0, 167, 229, 0.4) !important;
}

.va-btn--secondary {
    background-color: transparent !important;
    color: #133c8b !important;
    border-color: #133c8b !important;
}

.va-btn--secondary:hover {
    background-color: #133c8b !important;
    color: #fff !important;
}

.va-btn--light {
    background-color: #fff !important;
    color: #133c8b !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1) !important;
}

.va-btn--light:hover {
    background-color: #f8fafc !important;
}

.va-btn-group {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 1rem !important;
    margin: 1.5rem 0 !important;
}

/* Hide WordPress auto-generated tags */
.va-btn-group > p,
.va-btn-group > br,
.va-checklist > p,
.va-checklist > br {
    display: none !important;
}

/* === CALLOUT BOXES === */
.va-callout {
    display: flex !important;
    align-items: flex-start !important;
    gap: 1rem !important;
    padding: 1.25rem !important;
    border-radius: 0.75rem !important;
    margin: 1.5rem 0 !important;
    border-left: 4px solid !important;
}

.va-callout__icon {
    font-size: 1.25rem !important;
    flex-shrink: 0 !important;
    margin-top: 0.125rem !important;
}

.va-callout__content {
    flex: 1 !important;
}

.va-callout__title {
    font-weight: 700 !important;
    font-size: 1rem !important;
    margin: 0 0 0.25rem 0 !important;
}

.va-callout__text {
    font-size: 0.9rem !important;
    margin: 0 !important;
    line-height: 1.5 !important;
}

/* Callout types */
.va-callout--info {
    background-color: #eff6ff !important;
    border-color: #3b82f6 !important;
}
.va-callout--info .va-callout__icon { color: #3b82f6 !important; }
.va-callout--info .va-callout__title { color: #1e3a8a !important; }
.va-callout--info .va-callout__text { color: #1e40af !important; }

.va-callout--warning {
    background-color: #fffbeb !important;
    border-color: #f59e0b !important;
}
.va-callout--warning .va-callout__icon { color: #f59e0b !important; }
.va-callout--warning .va-callout__title { color: #78350f !important; }
.va-callout--warning .va-callout__text { color: #92400e !important; }

.va-callout--tip {
    background-color: #ecfdf5 !important;
    border-color: #10b981 !important;
}
.va-callout--tip .va-callout__icon { color: #10b981 !important; }
.va-callout--tip .va-callout__title { color: #064e3b !important; }
.va-callout--tip .va-callout__text { color: #065f46 !important; }

.va-callout--danger {
    background-color: #fef2f2 !important;
    border-color: #ef4444 !important;
}
.va-callout--danger .va-callout__icon { color: #ef4444 !important; }
.va-callout--danger .va-callout__title { color: #7f1d1d !important; }
.va-callout--danger .va-callout__text { color: #991b1b !important; }

/* === CHECKLIST === */
.va-checklist {
    list-style: none !important;
    padding: 0 !important;
    margin: 1.5rem 0 !important;
}

.va-checklist__item {
    display: flex !important;
    align-items: flex-start !important;
    gap: 0.75rem !important;
    margin-bottom: 0.75rem !important;
    padding: 0 !important;
}

.va-checklist__item::before {
    display: none !important;
}

.va-checklist__icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 1.5rem !important;
    height: 1.5rem !important;
    background-color: rgba(0, 167, 229, 0.15) !important;
    color: #00a7e5 !important;
    border-radius: 50% !important;
    flex-shrink: 0 !important;
    font-size: 0.7rem !important;
    margin-top: 0.125rem !important;
}

.va-checklist__text {
    color: #475569 !important;
    line-height: 1.5 !important;
}

/* === FEATURE CARDS === */
.va-features {
    display: grid !important;
    gap: 1.5rem !important;
    margin: 2rem 0 !important;
}

/* Hide WordPress auto-generated tags */
.va-features > p,
.va-features > br {
    display: none !important;
}

.va-features--cols-2 { grid-template-columns: repeat(2, 1fr) !important; }
.va-features--cols-3 { grid-template-columns: repeat(3, 1fr) !important; }
.va-features--cols-4 { grid-template-columns: repeat(4, 1fr) !important; }

@media (max-width: 768px) {
    .va-features--cols-2,
    .va-features--cols-3,
    .va-features--cols-4 {
        grid-template-columns: 1fr !important;
    }
}

.va-feature {
    background-color: #f8fafc !important;
    padding: 1.5rem !important;
    border-radius: 1rem !important;
    text-align: center !important;
}

.va-feature__icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 3.5rem !important;
    height: 3.5rem !important;
    background-color: rgba(0, 167, 229, 0.15) !important;
    color: #00a7e5 !important;
    border-radius: 50% !important;
    font-size: 1.25rem !important;
    margin-bottom: 1rem !important;
}

.va-feature__title {
    font-weight: 700 !important;
    color: #0f172a !important;
    font-size: 1.1rem !important;
    margin: 0 0 0.5rem 0 !important;
}

.va-feature__desc {
    color: #64748b !important;
    font-size: 0.9rem !important;
    margin: 0 !important;
    line-height: 1.5 !important;
}

/* === LEAD PARAGRAPH === */
.va-lead {
    font-size: 1.25rem !important;
    color: #334155 !important;
    line-height: 1.7 !important;
    font-weight: 500 !important;
    margin: 1.5rem 0 !important;
}

/* === HIGHLIGHT === */
.va-highlight {
    background-color: rgba(0, 167, 229, 0.2) !important;
    color: inherit !important;
    padding: 0.125rem 0.375rem !important;
    border-radius: 0.25rem !important;
}

/* === BADGES === */
.va-badge {
    display: inline-block !important;
    padding: 0.25rem 0.75rem !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    border-radius: 9999px !important;
    vertical-align: middle !important;
}

.va-badge--brand {
    background-color: rgba(0, 167, 229, 0.15) !important;
    color: #0284c7 !important;
}

.va-badge--green {
    background-color: rgba(16, 185, 129, 0.15) !important;
    color: #059669 !important;
}

.va-badge--red {
    background-color: rgba(239, 68, 68, 0.15) !important;
    color: #dc2626 !important;
}

.va-badge--amber {
    background-color: rgba(245, 158, 11, 0.15) !important;
    color: #d97706 !important;
}

/* === DIVIDERS === */
.va-divider {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 1rem !important;
    margin: 3rem 0 !important;
}

.va-divider__line {
    flex: 1 !important;
    height: 1px !important;
    background-color: #e2e8f0 !important;
}

.va-divider__icon {
    color: #00a7e5 !important;
    font-size: 1rem !important;
}

.va-divider__label {
    color: #94a3b8 !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
}

/* === IMAGES === */
.va-image {
    margin: 2rem 0 !important;
}

.va-image__img {
    width: 100% !important;
    border-radius: 0.75rem !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
}

.va-image__caption {
    text-align: center !important;
    color: #64748b !important;
    font-size: 0.875rem !important;
    font-style: italic !important;
    margin-top: 0.75rem !important;
}

.va-image--wide {
    margin-left: -1rem !important;
    margin-right: -1rem !important;
}

/* === GALLERY === */
.va-gallery {
    display: grid !important;
    gap: 1rem !important;
    margin: 2rem 0 !important;
}

/* Hide WordPress auto-generated tags */
.va-gallery > p,
.va-gallery > br {
    display: none !important;
}

.va-gallery--cols-2 { grid-template-columns: repeat(2, 1fr) !important; }
.va-gallery--cols-3 { grid-template-columns: repeat(3, 1fr) !important; }
.va-gallery--cols-4 { grid-template-columns: repeat(4, 1fr) !important; }

@media (max-width: 768px) {
    .va-gallery--cols-2,
    .va-gallery--cols-3,
    .va-gallery--cols-4 {
        grid-template-columns: 1fr !important;
    }
}

.va-gallery__img {
    width: 100% !important;
    height: 200px !important;
    object-fit: cover !important;
    border-radius: 0.75rem !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
    transition: transform 0.3s ease !important;
}

.va-gallery__img:hover {
    transform: scale(1.02) !important;
}

/* Gallery Link with Lightbox */
.va-gallery__link {
    position: relative !important;
    display: block !important;
    overflow: hidden !important;
    border-radius: 0.75rem !important;
    cursor: zoom-in !important;
}

.va-gallery__zoom {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) scale(0) !important;
    width: 3rem !important;
    height: 3rem !important;
    background: rgba(19, 60, 139, 0.9) !important;
    color: #fff !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1rem !important;
    transition: transform 0.3s ease, opacity 0.3s ease !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.va-gallery__link:hover .va-gallery__zoom {
    transform: translate(-50%, -50%) scale(1) !important;
    opacity: 1 !important;
}

.va-gallery__link:hover .va-gallery__img {
    transform: scale(1.05) !important;
}

/* === LIGHTBOX === */
.va-lightbox {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: rgba(0, 0, 0, 0.95) !important;
    z-index: 9999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: opacity 0.3s ease, visibility 0.3s ease !important;
}

.va-lightbox.active {
    opacity: 1 !important;
    visibility: visible !important;
}

.va-lightbox__content {
    position: relative !important;
    max-width: 90vw !important;
    max-height: 90vh !important;
}

.va-lightbox__img {
    max-width: 90vw !important;
    max-height: 90vh !important;
    object-fit: contain !important;
    border-radius: 0.5rem !important;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5) !important;
}

.va-lightbox__close {
    position: absolute !important;
    top: -3rem !important;
    right: 0 !important;
    width: 2.5rem !important;
    height: 2.5rem !important;
    background: #fff !important;
    color: #133c8b !important;
    border: none !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    font-size: 1.25rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: transform 0.2s ease, background 0.2s ease !important;
}

.va-lightbox__close:hover {
    transform: scale(1.1) !important;
    background: #00a7e5 !important;
    color: #fff !important;
}

.va-lightbox__nav {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 3rem !important;
    height: 3rem !important;
    background: rgba(255, 255, 255, 0.9) !important;
    color: #133c8b !important;
    border: none !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    font-size: 1.25rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: transform 0.2s ease, background 0.2s ease !important;
}

.va-lightbox__nav:hover {
    transform: translateY(-50%) scale(1.1) !important;
    background: #00a7e5 !important;
    color: #fff !important;
}

.va-lightbox__prev {
    left: -4rem !important;
}

.va-lightbox__next {
    right: -4rem !important;
}

.va-lightbox__counter {
    position: absolute !important;
    bottom: -2.5rem !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    color: #fff !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
}

/* === QUOTE === */
.va-quote {
    background-color: #f8fafc !important;
    border-left: 4px solid #00a7e5 !important;
    padding: 1.5rem 2rem !important;
    margin: 2rem 0 !important;
    border-radius: 0 0.75rem 0.75rem 0 !important;
}

.va-quote__text {
    font-size: 1.125rem !important;
    color: #334155 !important;
    line-height: 1.7 !important;
    margin: 0 0 0.75rem 0 !important;
    font-style: italic !important;
}

.va-quote__author {
    display: block !important;
    color: #64748b !important;
    font-size: 0.9rem !important;
    font-style: normal !important;
    font-weight: 500 !important;
}

