/* ==========================================================================
   BLACKHEAD CUSTOMS - BOOTSTRAP 5 CORE STYLES overrides
   ========================================================================== */

/* Variables */
:root {
    --bg-black: #000000;
    --bg-dark-pbr: #08080b;
    --bg-card-pbr: #121216;
    --border-zinc: #1c1c22;
    --text-white: #ffffff;
    --text-zinc-muted: #8a8a93;
    
    --orange-accent: #ff6600;
    --orange-accent-hover: #ff5500;
    --silver-accent: #cccccc;
    
    --font-display: 'Outfit', sans-serif;
    --font-sans: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-black);
    color: var(--text-white);
    font-family: var(--font-sans);
    overflow-x: hidden;
    padding-top: 80px; /* Offset fixed header */
}

/* Custom UI Resets & Alignments */
a {
    color: inherit;
    text-decoration: none;
    transition: all 0.2s ease;
}
a:hover {
    color: var(--orange-accent);
}

.text-zinc-400 { color: #a1a1aa !important; }
.text-zinc-500 { color: #71717a !important; }

/* Navbar Overrides */
.navbar {
    background-color: var(--bg-black) !important;
    border-bottom: 1px solid var(--border-zinc) !important;
}
.nav-link {
    color: var(--text-zinc-muted) !important;
    transition: all 0.2s ease;
}
.nav-link:hover, .nav-link.active {
    color: var(--orange-accent) !important;
}

/* Footer & Lists Overrides */
.footer-links-list {
    list-style: none !important;
    padding-left: 0 !important;
    margin-bottom: 0 !important;
}
.footer-links-list li {
    list-style: none !important;
    margin-bottom: 8px;
}
.footer p i {
    display: inline-block !important;
    width: 20px !important;
    text-align: center !important;
    margin-right: 8px !important;
    color: var(--orange-accent) !important;
}
.social-links a {
    color: var(--text-white) !important;
}
.social-links a:hover {
    color: var(--orange-accent) !important;
}

/* Typography helper */
.font-display { font-family: var(--font-display); }
.font-sans { font-family: var(--font-sans); }
.font-black { font-weight: 900; }
.text-orange-accent { color: var(--orange-accent); }
.text-zinc-muted { color: var(--text-zinc-muted); }
.bg-black-pbr { background-color: var(--bg-black) !important; }
.border-zinc-900 { border-color: var(--border-zinc) !important; }
.text-sm { font-size: 13px; }
.text-xs { font-size: 11px; }

/* Custom Buttons overrides */
.btn-primary-orange {
    background-color: var(--orange-accent);
    color: #000000;
    border: none;
    font-weight: 700;
    transition: all 0.3s ease;
}
.btn-primary-orange:hover {
    background-color: var(--orange-accent-hover);
    box-shadow: 0 0 15px rgba(255, 102, 0, 0.4);
    transform: translateY(-2px);
    color: #000000;
}

.btn-outline-zinc {
    background-color: transparent;
    border: 1px solid var(--border-zinc);
    color: var(--text-white);
    font-weight: 700;
    transition: all 0.3s ease;
}
.btn-outline-zinc:hover {
    border-color: var(--orange-accent);
    color: var(--orange-accent);
    transform: translateY(-2px);
}

.hover-orange:hover {
    color: var(--orange-accent) !important;
    transition: color 0.2s ease;
}

/* Reusable Section styling */
.subpage-hero {
    background: radial-gradient(circle at center, #141419 0%, #000000 100%);
    padding: 80px 0;
    border-bottom: 1px solid var(--border-zinc);
}

.badge-orange {
    font-family: monospace;
    font-size: 9px;
    letter-spacing: 0.2em;
    color: var(--orange-accent);
    text-transform: uppercase;
}

.heading-lg {
    font-family: var(--font-display);
    font-size: 38px;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .heading-lg {
        font-size: 28px;
    }
}

.heading-divider {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--orange-accent), var(--text-white));
    margin: 16px 0;
}

.heading-divider.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

/* Card structures */
.pbr-card {
    background-color: var(--bg-card-pbr);
    border: 1px solid var(--border-zinc);
    border-radius: 20px;
    padding: 32px;
    transition: all 0.3s ease;
}
.pbr-card:hover {
    border-color: rgba(255, 102, 0, 0.2);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
}

/* Form controls overrides */
.form-input-pbr {
    background-color: #000000;
    border: 1px solid var(--border-zinc);
    color: var(--text-white);
    font-size: 13px;
    border-radius: 12px;
    padding: 14px;
    transition: border-color 0.2s ease;
}
.form-input-pbr:focus {
    background-color: #000000;
    border-color: var(--orange-accent);
    color: var(--text-white);
    box-shadow: none;
}

.error-border {
    border-color: #ff3b30 !important;
}

.error-msg-field {
    font-family: monospace;
    font-size: 9px;
    color: #ff3b30;
    display: block;
    margin-top: 4px;
}

/* Comparison image slider */
.comparison-container {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-zinc);
}

.before-after-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.before-after-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.after-image {
    width: 50%;
    z-index: 2;
    border-right: 2px solid var(--orange-accent);
    overflow: hidden;
}

.before-image {
    z-index: 1;
}

.before-after-slider .label {
    position: absolute;
    bottom: 20px;
    padding: 6px 12px;
    background-color: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.05);
    font-family: monospace;
    font-size: 8px;
    letter-spacing: 0.1em;
    color: var(--text-white);
    z-index: 5;
}

.before-label { left: 20px; }
.after-label { right: 20px; }

.drag-bar {
    position: absolute;
    top: 0;
    left: 50%;
    width: 0;
    height: 100%;
    z-index: 10;
    cursor: ew-resize;
}

.drag-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--text-white);
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    pointer-events: none;
}

/* Floating Actions Buttons */
.floating-call-btn {
    position: fixed;
    bottom: 32px;
    left: 32px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: #3b82f6; /* Premium metallic blue */
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
    z-index: 999;
    transition: all 0.3s ease;
}
.floating-call-btn:hover {
    transform: scale(1.1) rotate(-8deg);
    color: white;
}

.floating-whatsapp-btn {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: #25d366;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
    z-index: 999;
    transition: all 0.3s ease;
}
.floating-whatsapp-btn:hover {
    transform: scale(1.1) rotate(8deg);
    color: white;
}

/* FAQ Accordion Styling overrides */
.faq-accordion-box {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item-card {
    background-color: var(--bg-card-pbr);
    border: 1px solid var(--border-zinc);
    border-radius: 16px;
    overflow: hidden;
}

.faq-question-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: none;
    border: none;
    color: var(--text-white);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    text-align: left;
}

.faq-question-btn i {
    color: var(--orange-accent);
    transition: transform 0.2s ease;
}

.faq-question-btn.active i {
    transform: rotate(180deg);
}

.faq-answer-block {
    padding: 0 24px 20px;
    font-size: 13px;
    color: var(--text-zinc-muted);
    line-height: 1.7;
    display: none;
}

/* Social Buttons */
.social-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: #0d0d0f;
    border: 1px solid var(--border-zinc);
    color: var(--text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.social-btn:hover {
    border-color: var(--orange-accent);
    color: var(--orange-accent);
    transform: translateY(-2px);
}

/* Pricing Table */
.pricing-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 16px;
}
.pricing-table th, .pricing-table td {
    padding: 16px;
    border: 1px solid var(--border-zinc);
    text-align: left;
    font-size: 13px;
}
.pricing-table th {
    background-color: #0d0d0f;
    color: var(--text-white);
    font-weight: 700;
    text-transform: uppercase;
}
.pricing-table td {
    color: var(--text-zinc-muted);
}
.pricing-table tr:hover td {
    color: var(--text-white);
    background-color: rgba(255, 102, 0, 0.02);
}

/* Gallery layout */
.masonry-grid-pins {
    column-count: 3;
    column-gap: 20px;
}
@media (max-width: 768px) {
    .masonry-grid-pins {
        column-count: 2;
    }
}
@media (max-width: 575px) {
    .masonry-grid-pins {
        column-count: 1;
    }
}
.masonry-pin-card {
    break-inside: avoid;
    margin-bottom: 20px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-zinc);
    background-color: var(--bg-card-pbr);
    position: relative;
}
.masonry-pin-card img {
    width: 100%;
    height: auto;
    display: block;
}
.masonry-pin-card .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 100%);
    opacity: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    transition: opacity 0.3s ease;
}
.masonry-pin-card:hover .overlay {
    opacity: 1;
}

/* Sitemap list visual */
.sitemap-link-box {
    background-color: var(--bg-card-pbr);
    border: 1px solid var(--border-zinc);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: monospace;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-zinc-muted);
    transition: all 0.3s ease;
}
.sitemap-link-box:hover {
    border-color: var(--orange-accent);
    color: var(--text-white);
}

/* Reviews Carousel Slider styles */
.reviews-slider-box {
    position: relative;
    max-width: 768px;
    margin: 0 auto;
    overflow: hidden;
}
.review-slide-item {
    display: none;
    text-align: center;
    padding: 20px 40px;
}
.review-slide-item.active {
    display: block;
    animation: fadeIn 0.4s ease;
}
.reviewer-meta-text {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 700;
    color: var(--orange-accent);
    margin-top: 16px;
    text-transform: uppercase;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 3D configurator visual frames */
.configurator-wrapper-bs {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-zinc);
    background-color: #000;
}
.canvas-target-bs {
    width: 100%;
    height: 100%;
}
.loader-bs-cover {
    position: absolute;
    inset: 0;
    background-color: #000;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}
.loader-bs-spinner {
    width: 40px;
    height: 40px;
    border: 2px solid rgba(255, 102, 0, 0.1);
    border-top-color: var(--orange-accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* ==========================================================================
   INSTAGRAM CLONE INTERFACE STYLES
   ========================================================================== */
.instagram-profile-wrapper {
    max-width: 935px;
    margin: 0 auto;
    padding: 30px 20px 0;
}

.instagram-profile-header {
    display: flex;
    align-items: center;
    margin-bottom: 44px;
    border-bottom: 1px solid var(--border-zinc);
    padding-bottom: 44px;
}

.instagram-avatar-col {
    flex: 1;
    display: flex;
    justify-content: center;
    padding-right: 30px;
}

.instagram-avatar-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    padding: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.instagram-avatar-img {
    width: 144px;
    height: 144px;
    border-radius: 50%;
    border: 4px solid #000;
    object-fit: cover;
}

.instagram-info-col {
    flex: 2;
}

.instagram-username-row {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.instagram-username-title {
    font-family: var(--font-sans);
    font-size: 20px;
    font-weight: 300;
    margin-bottom: 0;
    color: var(--text-white);
}

.instagram-verified-badge {
    color: #3897f0;
    font-size: 16px;
}

.btn-instagram-follow {
    background-color: var(--orange-accent);
    color: #000000;
    border: none;
    padding: 5px 16px;
    font-size: 13px;
    font-weight: 700;
    border-radius: 8px;
    transition: var(--transition);
}

.btn-instagram-follow:hover {
    background-color: var(--orange-accent-hover);
    box-shadow: 0 0 10px rgba(255,102,0,0.3);
}

.instagram-stats-row {
    display: flex;
    gap: 40px;
    margin-bottom: 20px;
    font-size: 15px;
    font-family: var(--font-sans);
}

.instagram-stat-num {
    font-weight: 700;
    color: var(--text-white);
}

.instagram-bio-row {
    font-size: 14px;
    font-family: var(--font-sans);
    line-height: 1.5;
    color: #e5e5ea;
}

.instagram-bio-name {
    font-weight: 700;
    color: var(--text-white);
    display: block;
    margin-bottom: 4px;
}

.instagram-bio-text {
    margin-bottom: 8px;
}

.instagram-bio-link {
    color: #0095f6;
    font-weight: 700;
    text-decoration: none;
}
.instagram-bio-link:hover {
    text-decoration: underline;
}

/* Instagram Tab Headers */
.instagram-tabs-header {
    display: flex;
    justify-content: center;
    gap: 60px;
    border-top: 1px solid var(--border-zinc);
    margin-bottom: 28px;
}

.instagram-tab-btn {
    background: none;
    border: none;
    color: var(--text-zinc-muted);
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 16px 0;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    border-top: 1px solid transparent;
    margin-top: -1px;
}

.instagram-tab-btn.active {
    color: var(--text-white);
    border-top-color: var(--text-white);
}

/* Instagram Grid */
.instagram-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

@media (max-width: 768px) {
    .instagram-posts-grid {
        gap: 6px;
    }
    .instagram-profile-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        padding-bottom: 24px;
        margin-bottom: 24px;
    }
    .instagram-avatar-col {
        padding-right: 0;
        margin-bottom: 10px;
    }
    .instagram-stats-row {
        gap: 20px;
        font-size: 13px;
    }
}

.instagram-post-card {
    aspect-ratio: 1;
    position: relative;
    overflow: hidden;
    background-color: var(--bg-card-pbr);
    border: 1px solid var(--border-zinc);
}

.instagram-post-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.instagram-post-card:hover img {
    transform: scale(1.02);
}

.instagram-post-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.6);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    transition: opacity 0.25s ease;
    color: var(--text-white);
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: 700;
}

.instagram-post-card:hover .instagram-post-overlay {
    opacity: 1;
}

.instagram-overlay-stat {
    display: flex;
    align-items: center;
    gap: 8px;
}
