/* ================================================================
   Copious IT — Apple / Mac Services Page
   ================================================================
   Shared stylesheet for:
     apple-mac-it-services-vancouver.html
     apple-mac-it-services-vancouver/index.html

   Extracted from 2 identical inline <style> blocks. Load order (head):
   Tailwind CDN → css/apple-mac.css.

   ------------------------------------------------------------------
   CHEAT SHEET — COLORS & FONTS (Apple/Mac page)
   ------------------------------------------------------------------
   BACKGROUNDS
     --ink        #020617   page background (near-black navy)
     --ink-2      #0f172a   scrollbar track / scrolled nav surface
     --panel      rgba(30,41,59,.5)   soft card fill (.icon-item)
     --panel-dim  rgba(15,23,42,.8)   form field fill

   TEXT
     --text       #ffffff   headings / emphasis (white)
     --muted      #64748b   placeholders, quiet text

   BRAND (cyan)
     --brand      #00b7e3   scrollbar thumb, focus ring, hovers
     --brand-2    #1abbe6   lighter cyan (hover on thumb)

   BORDERS
     rgba(51,65,85,.5)      nav border, form borders

   FONTS
     Primary      'Inter' (Google Fonts), fallback sans-serif
     Field size   .95rem
   ================================================================ */

/* ------------------------------------------------------------------
   RESET — clear default margins/padding, sane box-sizing
------------------------------------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #020617;        /* --ink    */
    color: #fff;                /* --text   */
    overflow-x: hidden;
}

/* ------------------------------------------------------------------
   SCROLLBAR — slim cyan thumb on dark track (WebKit)
------------------------------------------------------------------- */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0f172a;        /* --ink-2  */
}
::-webkit-scrollbar-thumb {
    background: #00b7e3;        /* --brand  */
    border-radius: 4px;
}

/* Smooth anchor scrolling */
html {
    scroll-behavior: smooth;
}

/* ------------------------------------------------------------------
   HERO — animated diagonal gradient background
------------------------------------------------------------------- */
.hero-gradient {
    background: linear-gradient(
        135deg,
        #020617 0%,    /* --ink    */
        #0f172a 40%,   /* --ink-2  */
        #00262f 70%,   /* deep navy */
        #020617 100%   /* --ink    */
    );
    background-size: 400% 400%;
    animation: gradientShift 12s ease infinite;
}

@keyframes gradientShift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Hero photo — dark, masked overlay behind the headline */
.hero-bg-image {
    position: absolute;
    inset: 0;
    background: url('images/applemac.jpeg') center center / cover no-repeat;
    opacity: 0.12;
    mask-image: linear-gradient(
        to bottom,
        rgba(0,0,0,0.6) 0%,
        rgba(0,0,0,0.3) 60%,
        transparent 100%
    );
    -webkit-mask-image: linear-gradient(
        to bottom,
        rgba(0,0,0,0.6) 0%,
        rgba(0,0,0,0.3) 60%,
        transparent 100%
    );
}

/* ------------------------------------------------------------------
   SECTION LINE — cyan gradient hairline between sections
------------------------------------------------------------------- */
.section-line {
    height: 1px;
    background: linear-gradient(90deg, transparent, #00b7e3, transparent);
    max-width: 80%;
    margin: 0 auto;
}

/* ------------------------------------------------------------------
   SCROLL-REVEAL — elements fade/slide in on scroll (.visible by JS)
------------------------------------------------------------------- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition:
        opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ------------------------------------------------------------------
   SERVICE CARD — hover lift + cyan glow
------------------------------------------------------------------- */
.service-card {
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 183, 227, 0.3);
    box-shadow: 0 20px 60px -15px rgba(0, 183, 227, 0.15);
}

/* ------------------------------------------------------------------
   BUTTON SHINE — swept light sheen on hover
------------------------------------------------------------------- */
.btn-shine {
    position: relative;
    overflow: hidden;
}
.btn-shine::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -75%;
    width: 50%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transform: skewX(-25deg);
    transition: left 0.6s ease;
}
.btn-shine:hover::after {
    left: 125%;
}

/* ------------------------------------------------------------------
   NAV — transition to solid blurred bar once JS adds .scrolled
------------------------------------------------------------------- */
.nav-glass {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-glass.scrolled {
    background: rgba(2, 6, 23, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom-color: rgba(51, 65, 85, 0.5);
}

/* ------------------------------------------------------------------
   MOBILE MENU — right-side slide-in drawer
------------------------------------------------------------------- */
.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    background-color: #020617 !important;   /* --ink, force over utilities */
}
.mobile-menu.open {
    transform: translateX(0);
}

/* ------------------------------------------------------------------
   CONTACT OVERLAY — modal dialog (dim backdrop + centered card)
------------------------------------------------------------------- */
.contact-overlay {
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.contact-overlay.active {
    opacity: 1;
    visibility: visible;
}
.contact-modal {
    transform: scale(0.95) translateY(20px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.contact-overlay.active .contact-modal {
    transform: scale(1) translateY(0);
    opacity: 1;
}

/* ------------------------------------------------------------------
   SERVICES ICON BAR — row of blurred glass icon tiles
------------------------------------------------------------------- */
.services-icon-bar {
    background: transparent;
}
.services-icon-bar .icon-item {
    background: rgba(30, 41, 59, 0.5);      /* --panel  */
    backdrop-filter: blur(8px);
    border-radius: 16px;
    padding: 24px 16px;
    transition: all 0.3s ease;
    border: 1px solid rgba(51, 65, 85, 0.5);
}
.services-icon-bar .icon-item:hover {
    background: rgba(30, 41, 59, 0.8);
    transform: translateY(-4px);
    border-color: rgba(0, 183, 227, 0.3);
    box-shadow: 0 8px 24px rgba(0, 183, 227, 0.1);
}
.services-icon-bar .icon-item img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    filter: brightness(0) invert(1);        /* render dark glyphs white */
}

/* ------------------------------------------------------------------
   FAQ ACCORDION — expandable answers (.open toggled by JS)
------------------------------------------------------------------- */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition:
        max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        padding 0.3s ease;
}
.faq-answer.open {
    max-height: 300px;
}
.faq-chevron {
    transition: transform 0.3s ease;
}
.faq-chevron.rotated {
    transform: rotate(180deg);
}

/* ------------------------------------------------------------------
   MAC CONTACT FORM — dark rounded fields, cyan focus ring
------------------------------------------------------------------- */
.mac-form input,
.mac-form textarea {
    background: rgba(15, 23, 42, 0.8);      /* --panel-dim */
    border: 1px solid rgba(51, 65, 85, 0.5);
    border-radius: 12px;
    padding: 14px 18px;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    width: 100%;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    outline: none;
}
.mac-form input:focus,
.mac-form textarea:focus {
    border-color: #00b7e3;
    box-shadow: 0 0 0 3px rgba(0, 183, 227, 0.1);
}
.mac-form input::placeholder,
.mac-form textarea::placeholder {
    color: #64748b;                          /* --muted */
}

/* ------------------------------------------------------------------
   STAGGER — incremental transition-delay for card reveal
------------------------------------------------------------------- */
.stagger-1  { transition-delay: 0.1s; }
.stagger-2  { transition-delay: 0.2s; }
.stagger-3  { transition-delay: 0.3s; }
.stagger-4  { transition-delay: 0.4s; }
.stagger-5  { transition-delay: 0.5s; }
.stagger-6  { transition-delay: 0.6s; }
.stagger-7  { transition-delay: 0.7s; }
.stagger-8  { transition-delay: 0.8s; }
.stagger-9  { transition-delay: 0.9s; }
.stagger-10 { transition-delay: 1.0s; }
