/* ============================================
   AQUALUUM CONSULTORES - Global Stylesheet
   Works alongside Bootstrap 5
   ============================================ */

:root {
    --aq-primary: #1e40af;
    --aq-secondary: #3b82f6;
    --aq-accent: #0ea5e9;
    --aq-dark: #1e3a8a;
    --aq-light: #dbeafe;
    --aq-text: #1f2937;
    --aq-muted: #6b7280;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--aq-text);
}

/* ============================================
   BOOTSTRAP OVERRIDES
   ============================================ */
.btn-primary {
    background: linear-gradient(135deg, var(--aq-primary), var(--aq-secondary));
    border: none;
}
.btn-primary:hover {
    background: linear-gradient(135deg, var(--aq-dark), var(--aq-primary));
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(30, 64, 175, 0.3);
}
.text-primary { color: var(--aq-primary) !important; }

.dropdown-menu {
    border: none;
    box-shadow: 0 10px 40px rgba(0,0,0,0.12);
    border-radius: 12px;
    padding: 8px;
}
.dropdown-item {
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 0.92rem;
}
.dropdown-item:hover {
    background-color: var(--aq-light);
}

/* ============================================
   URGENT BANNER
   ============================================ */
.aq-urgent-banner {
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
    color: white;
    font-weight: 600;
    font-size: 0.88rem;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1050;
}

/* ============================================
   NAVBAR CUSTOMIZATIONS
   ============================================ */
.navbar {
    backdrop-filter: blur(16px);
    transition: box-shadow 0.3s ease;
    padding-top: 8px;
    padding-bottom: 8px;
}
.aq-brand-text {
    background: linear-gradient(45deg, var(--aq-primary), var(--aq-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.aq-brand-sub {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: #059669;
    margin-top: 2px;
}
.aq-logo-wrap {
    position: relative;
    display: inline-block;
}
.aq-logo-wrap::before {
    content: '✨';
    position: absolute;
    top: -6px;
    left: -6px;
    font-size: 11px;
    opacity: 0;
    animation: aqSparkle 3s ease-in-out infinite;
    z-index: 5;
}
.aq-logo-wrap::after {
    content: '🌿';
    position: absolute;
    bottom: -4px;
    right: -6px;
    font-size: 11px;
    opacity: 0;
    animation: aqSparkle 3s ease-in-out 1.5s infinite;
    z-index: 5;
}
.navbar-brand:hover .aq-logo-wrap::before,
.navbar-brand:hover .aq-logo-wrap::after {
    animation-duration: 1s;
}
@keyframes aqSparkle {
    0%, 100% { opacity: 0; transform: scale(0.5) rotate(0deg); }
    50% { opacity: 1; transform: scale(1) rotate(180deg); }
}
.aq-logo-wrap img {
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 20px rgba(30, 64, 175, 0.2);
    border: 2px solid transparent;
    background:
        linear-gradient(white, white) padding-box,
        linear-gradient(45deg, #1e40af, #3b82f6, #0ea5e9) border-box;
    transition: all 0.4s ease;
}
.navbar-brand:hover .aq-logo-wrap img {
    transform: scale(1.05);
    box-shadow: 0 6px 28px rgba(30, 64, 175, 0.3);
}
.navbar .nav-link {
    font-weight: 500;
    color: var(--aq-text) !important;
    font-size: 0.92rem;
    transition: color 0.2s;
}
.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--aq-primary) !important;
}

/* ============================================
   BREADCRUMBS
   ============================================ */
.aq-breadcrumbs {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}
.aq-breadcrumbs .breadcrumb {
    margin-bottom: 0;
    font-size: 0.88rem;
}
.aq-breadcrumbs .breadcrumb-item a {
    color: var(--aq-secondary);
    text-decoration: none;
}
.aq-breadcrumbs .breadcrumb-item a:hover {
    color: var(--aq-primary);
    text-decoration: underline;
}
.aq-breadcrumbs .breadcrumb-item.active {
    color: var(--aq-text);
    font-weight: 600;
}

/* ============================================
   PAGE HERO
   ============================================ */
.aq-page-hero {
    background: linear-gradient(135deg, var(--aq-primary) 0%, var(--aq-accent) 100%);
    color: white;
    padding: 55px 0 65px;
    position: relative;
    overflow: hidden;
}
.aq-page-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}
.aq-page-hero h1 {
    font-weight: 800;
    line-height: 1.2;
}
.aq-page-hero .lead {
    opacity: 0.92;
}

/* ============================================
   TRUST BAR
   ============================================ */
.aq-trust-bar {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}
.aq-trust-bar .trust-item {
    font-size: 0.88rem;
    color: var(--aq-muted);
    font-weight: 500;
}
.aq-trust-bar .trust-item i {
    color: #10b981;
}

/* ============================================
   CONTENT CARDS
   ============================================ */
.aq-card {
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 16px;
    transition: all 0.3s ease;
    overflow: hidden;
}
.aq-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
    border-color: var(--aq-secondary);
}
.aq-card .card-body {
    padding: 28px;
}
.aq-card .icon-circle {
    width: 52px;
    height: 52px;
    background: var(--aq-light);
    color: var(--aq-primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 16px;
}

/* ============================================
   FAQ ACCORDION
   ============================================ */
.aq-faq .accordion-item {
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 12px !important;
    margin-bottom: 10px;
    overflow: hidden;
}
.aq-faq .accordion-button {
    font-weight: 600;
    font-size: 1rem;
    color: var(--aq-text);
    background: white;
    box-shadow: none;
}
.aq-faq .accordion-button:not(.collapsed) {
    background: var(--aq-light);
    color: var(--aq-primary);
}
.aq-faq .accordion-body {
    font-size: 0.95rem;
    color: var(--aq-muted);
    line-height: 1.8;
}

/* ============================================
   PROCESS STEPS
   ============================================ */
.aq-step-number {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--aq-primary), var(--aq-secondary));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* ============================================
   CTA & FOOTER
   ============================================ */
.aq-cta-section {
    background: linear-gradient(135deg, var(--aq-primary) 0%, var(--aq-secondary) 100%);
}
.aq-footer {
    background: #0f172a;
}
.aq-brand-sub-light {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: #34d399;
    margin-top: 2px;
}
.aq-logo-wrap-dark::before,
.aq-logo-wrap-dark::after {
    display: none;
}
.aq-logo-wrap-dark img {
    background:
        linear-gradient(#0f172a, #0f172a) padding-box,
        linear-gradient(45deg, #1e40af, #3b82f6, #0ea5e9) border-box;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.2);
}
.aq-footer a.text-secondary:hover {
    color: var(--aq-accent) !important;
}

/* ============================================
   RELATED SERVICES
   ============================================ */
.aq-related-card {
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 14px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
    padding: 24px;
    background: white;
}
.aq-related-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-color: var(--aq-secondary);
}
.aq-related-card h5 {
    color: var(--aq-primary);
    font-weight: 700;
    font-size: 1.05rem;
}
.aq-related-card p {
    color: var(--aq-muted);
    font-size: 0.88rem;
    margin-bottom: 0;
}

/* ============================================
   SECTION HEADINGS
   ============================================ */
.aq-section-title {
    font-weight: 800;
    color: var(--aq-text);
    position: relative;
    display: inline-block;
}
.aq-section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, var(--aq-primary), var(--aq-secondary));
    border-radius: 2px;
}
.text-center .aq-section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

/* ============================================
   ALERT / WARNING BOXES
   ============================================ */
.aq-warning-box {
    background: #fef2f2;
    border-left: 4px solid #dc2626;
    border-radius: 0 12px 12px 0;
}
.aq-info-box {
    background: var(--aq-light);
    border-left: 4px solid var(--aq-secondary);
    border-radius: 0 12px 12px 0;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 991.98px) {
    .aq-urgent-banner { font-size: 0.8rem; padding: 8px 12px !important; }
    .navbar { top: 38px !important; }
    .aq-page-hero { padding: 40px 0 50px; }
    .aq-page-hero h1 { font-size: 1.8rem; }
}

@media (max-width: 575.98px) {
    .aq-urgent-banner { font-size: 0.72rem; }
    .navbar { top: 34px !important; }
}
