/*
Theme Name: Super Dashboards
Theme URI: https://super-dashboards.com
Author: Super Dashboards
Author URI: https://super-dashboards.com
Description: Custom WordPress theme for Super Dashboards - Your Apache Superset Expert Partner
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: super-dashboards
*/

:root {
    /* Primary Colors - BlinkMetrics Aligned */
    --color-primary-red: #BE202B;
    --color-deep-red: #400307;
    
    /* Accent Colors - Warm (BlinkMetrics) */
    --color-orange: #D56528;
    --color-gold: #F9A719;
    --color-light-pink: #FFF2F3;
    --color-light-gold: #FFCD77;
    
    /* Accent Colors (Cool/UI - BlinkMetrics) */
    --color-blue: #0B526D;
    --color-dark-blue: #011016;
    --color-light-gray: #FAFCFC;
    
    /* Typography */
    --font-heading: 'Righteous', cursive;
    --font-body: 'Figtree', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 400;
    line-height: 170%;
    color: var(--color-dark-blue);
    background-color: #ffffff;
}

/* Halftone Pattern Background */
.halftone-bg {
    position: relative;
}

.halftone-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle, rgba(0,0,0,0.05) 1px, transparent 1px);
    background-size: 12px 12px;
    pointer-events: none;
    z-index: 0;
}

/* Comic Panel Border */
.comic-panel {
    border: 4px solid var(--color-dark-blue);
    box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.2);
    position: relative;
}


/* Typography */
h1 {
    font-family: var(--font-heading);
    font-size: 36px;
    line-height: 110%;
    font-weight: 400;
    letter-spacing: 0.02em;
}

h2 {
    font-family: var(--font-heading);
    font-size: 28px;
    line-height: 110%;
    font-weight: 400;
    letter-spacing: 0.02em;
}

h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    line-height: 120%;
    font-weight: 400;
    letter-spacing: 0.02em;
}

strong {
    font-weight: 700;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

/* Shape Dividers */
.shape-divider {
    position: absolute;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.shape-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
}

.shape-divider.top {
    top: -1px;
}

.shape-divider.bottom {
    bottom: -1px;
}

.shape-divider.bottom svg {
    transform: rotate(180deg);
}

/* Zigzag Divider */
.shape-divider.zigzag svg {
    height: 40px;
}

/* Wave Divider */
.shape-divider.wave svg {
    height: 50px;
}

/* Tilt Divider */
.shape-divider.tilt svg {
    height: 60px;
}

/* Buttons */
.btn {
    font-family: var(--font-body);
    font-size: 20px;
    font-weight: 800;
    line-height: 160%;
    padding: 16px 32px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 3px solid var(--color-dark-blue);
    box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.3);
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn:hover {
    transform: translate(2px, 2px);
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.3);
}

.btn-primary {
    background-color: var(--color-primary-red);
    color: white;
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border-color: white;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #063a4d 0%, var(--color-blue) 50%, #0a6a8a 100%);
    padding: 100px 0;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-content {
    flex: 1;
    min-width: 0;
}

.hero h1 {
    font-size: 56px;
    color: white;
    margin-bottom: 24px;
    text-shadow: 
        4px 4px 0 rgba(0, 0, 0, 0.3),
        -1px -1px 0 var(--color-dark-blue),
        1px -1px 0 var(--color-dark-blue),
        -1px 1px 0 var(--color-dark-blue),
        1px 1px 0 var(--color-dark-blue);
}

.hero h1 .hero-h1-line2 {
    display: block;
    margin-top: 0.24em;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(249, 167, 25, 0.15);
    border: 2px solid var(--color-gold);
    border-radius: 50px;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 700;
    color: var(--color-gold);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.hero-eyebrow .dot {
    width: 10px;
    height: 10px;
    background: var(--color-gold);
    border-radius: 50%;
    animation: eyebrow-pulse 2s ease-in-out infinite;
}

@keyframes eyebrow-pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 8px var(--color-gold); }
    50% { opacity: 0.6; box-shadow: 0 0 16px var(--color-gold); }
}

.hero .subheading {
    font-size: 22px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    line-height: 170%;
    font-weight: 400;
    max-width: 540px;
}

.hero .cta-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-video {
    flex: 1;
    min-width: 0;
}

.hero-video video {
    width: 100%;
    height: auto;
    border-radius: 12px;
    border: 6px solid white;
    box-shadow: 
        12px 12px 0 rgba(0, 0, 0, 0.3),
        0 0 0 12px var(--color-dark-blue);
}

/* Services Section */
.services {
    background: linear-gradient(180deg, white 0%, var(--color-light-gray) 100%);
}

.services h2 {
    text-align: center;
    color: var(--color-dark-blue);
    margin-bottom: 60px;
    font-size: 48px;
    text-shadow: 3px 3px 0 var(--color-gold);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.service-card {
    padding: 32px;
    background-color: white;
    border-radius: 12px;
    border: 4px solid var(--color-dark-blue);
    box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 8px;
    height: 100%;
    background: linear-gradient(180deg, var(--color-orange) 0%, var(--color-gold) 100%);
}

.service-card:hover {
    transform: translate(-4px, -4px);
    box-shadow: 12px 12px 0 rgba(0, 0, 0, 0.2);
}

.service-card h3 {
    color: var(--color-primary-red);
    margin-bottom: 12px;
    font-size: 24px;
}

.service-card p {
    color: var(--color-dark-blue);
    font-size: 16px;
    line-height: 160%;
}

.service-card p:first-of-type {
    margin-bottom: 12px;
    font-weight: 600;
}

/* Value Proposition Section */
.value-proposition {
    background: linear-gradient(135deg, var(--color-light-pink) 0%, white 50%, var(--color-light-gold) 100%);
}

.value-proposition h2 {
    text-align: center;
    color: var(--color-dark-blue);
    margin-bottom: 48px;
    font-size: 48px;
    text-shadow: 3px 3px 0 rgba(228, 30, 44, 0.3);
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-bottom: 48px;
}

.value-item {
    text-align: center;
    background: white;
    padding: 32px 24px;
    border-radius: 16px;
    border: 4px solid var(--color-dark-blue);
    box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.value-item:hover {
    transform: translateY(-8px) rotate(-1deg);
}

.value-icon {
    width: 100px;
    height: 100px;
    background: var(--color-light-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 48px;
    border: 4px solid var(--color-dark-blue);
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.2);
    position: relative;
}

/* Superhero Icon Shapes */
.value-icon.shield::before {
    content: '🛡️';
}

.value-icon.unlock::before {
    content: '🔓';
}

.value-icon.lightning::before {
    content: '⚡';
}

.value-icon.money::before {
    content: '💰';
}

.value-icon.tools::before {
    content: '🔧';
}

.value-icon.trophy::before {
    content: '🏆';
}

.value-item h3 {
    color: var(--color-primary-red);
    margin-bottom: 12px;
    font-size: 26px;
}

.value-item p {
    color: var(--color-dark-blue);
    font-size: 16px;
}

/* Trust Section */
.trust {
    background: white;
    text-align: center;
    position: relative;
}

.trust h2 {
    color: var(--color-dark-blue);
    margin-bottom: 32px;
    font-size: 48px;
    text-shadow: 3px 3px 0 rgba(13, 110, 253, 0.2);
}

.trust .description {
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 20px;
    color: var(--color-dark-blue);
    line-height: 170%;
    background: var(--color-light-gray);
    padding: 32px;
    border-radius: 12px;
    border: 3px solid var(--color-dark-blue);
    box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.1);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--color-deep-red) 0%, var(--color-primary-red) 50%, var(--color-orange) 100%);
    color: white;
    text-align: center;
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.1) 2px, transparent 2px);
    background-size: 30px 30px;
    pointer-events: none;
}

.cta-section h2 {
    color: white;
    margin-bottom: 24px;
    font-size: 52px;
    text-shadow: 
        4px 4px 0 rgba(0, 0, 0, 0.3),
        -2px -2px 0 var(--color-dark-blue),
        2px -2px 0 var(--color-dark-blue),
        -2px 2px 0 var(--color-dark-blue),
        2px 2px 0 var(--color-dark-blue);
}

.cta-section p {
    font-size: 22px;
    margin-bottom: 32px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 600;
}

.cta-section .btn {
    background-color: var(--color-gold);
    color: var(--color-dark-blue);
    border-color: var(--color-dark-blue);
}

.cta-section .btn:hover {
    background-color: var(--color-light-gold);
}

/* Footer */
.site-footer {
    background-color: var(--color-dark-blue);
    color: white;
    padding: 60px 0 32px;
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: repeating-linear-gradient(
        90deg,
        var(--color-primary-red),
        var(--color-primary-red) 20px,
        var(--color-gold) 20px,
        var(--color-gold) 40px,
        var(--color-blue) 40px,
        var(--color-blue) 60px
    );
}

.site-footer h3 {
    color: var(--color-gold);
    margin-bottom: 16px;
    font-size: 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 48px;
    margin-bottom: 48px;
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    line-height: 160%;
    text-decoration: none;
}

.footer-section a:hover {
    color: var(--color-gold);
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 2px solid rgba(255, 255, 255, 0.2);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive */
@media (max-width: 968px) {
    .hero .container {
        flex-direction: column;
        gap: 40px;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-eyebrow {
        justify-content: center;
    }
    
    .hero .subheading {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero .cta-group {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 32px;
    }
    
    .hero h1 {
        font-size: 40px;
    }
    
    h2 {
        font-size: 28px;
    }
    
    .services h2,
    .value-proposition h2,
    .trust h2,
    .cta-section h2 {
        font-size: 36px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .services-grid,
    .value-grid {
        grid-template-columns: 1fr;
    }
    
    .btn {
        font-size: 18px;
        padding: 14px 28px;
    }
}

/* ==========================================================================
   Booking Modal / Lightbox
   ========================================================================== */

.booking-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s linear 0.3s, opacity 0.3s ease;
}

.booking-modal.is-open {
    visibility: visible;
    opacity: 1;
    transition: visibility 0s linear 0s, opacity 0.3s ease;
}

.booking-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(1, 16, 22, 0.85);
    cursor: pointer;
}

.booking-modal-container {
    position: relative;
    width: 90%;
    max-width: 700px;
    max-height: 90vh;
    background-color: #ffffff;
    border-radius: 16px;
    border: 5px solid var(--color-dark-blue);
    box-shadow: 
        12px 12px 0 rgba(0, 0, 0, 0.3),
        0 25px 50px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
}

.booking-modal.is-open .booking-modal-container {
    transform: scale(1) translateY(0);
}

.booking-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 44px;
    height: 44px;
    background-color: var(--color-primary-red);
    color: white;
    border: 3px solid var(--color-dark-blue);
    border-radius: 50%;
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
    z-index: 10;
}

.booking-modal-close:hover {
    background-color: var(--color-deep-red);
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.2);
}

.booking-modal-content {
    padding: 24px;
    max-height: 85vh;
    overflow-y: auto;
}

/* Responsive adjustments for modal */
@media (max-width: 768px) {
    .booking-modal-container {
        width: 95%;
        max-height: 95vh;
        border-radius: 12px;
        border-width: 4px;
    }
    
    .booking-modal-content {
        padding: 16px;
        padding-top: 60px;
    }
    
    .booking-modal-close {
        top: 8px;
        right: 8px;
        width: 40px;
        height: 40px;
        font-size: 24px;
    }
}
