/* ============================================================================
   AG PRODUCTION  -  THEME   (site/theme.css)
   ----------------------------------------------------------------------------
   THIS IS THE FILE TO EDIT TO RE-STYLE THE WHOLE WEBSITE.
   Every colour, font and size used on every page comes from here.
   There's a DARK set and a LIGHT set. Change a value once -> changes everywhere.
   ============================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&display=swap');

/* ---------------------------------------------------------------------------
   WEBSITE FONTS  (files live in  fonts/Website Fonts/ )
   --------------------------------------------------------------------------- */
@font-face {
    font-family: 'Gothic Outline';
    src: url('../fonts/Website Fonts/Gothic Outline Title D OT Regular.otf') format('opentype');
    font-weight: normal; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Steelfish Outline';
    src: url('../fonts/Website Fonts/Steelfish Outline.otf') format('opentype');
    font-weight: normal; font-style: normal; font-display: swap;
}

/* ---------------------------------------------------------------------------
   DARK MODE
   --------------------------------------------------------------------------- */
:root,
html[data-theme="dark"] {
    /* Brand */
    --accent:        #15fd00;   /* neon green: buttons, borders, glows            */
    --accent-text:   #15fd00;   /* neon green used for TEXT                        */
    --accent-ink:    #000000;   /* text that sits ON the green                     */
    --blue:          #2bb5ff;   /* blue accent: links + keyboard focus rings       */
    --danger:        #ff4d4d;

    /* Surfaces */
    --bg:            #060606;   /* page background                                 */
    --surface:       #0e0e0e;   /* cards, popups                                   */
    --surface-2:     #161616;   /* inputs, buttons inside cards                    */
    --inset:         #000000;   /* recessed boxes (feature lists etc.)             */

    /* Lines */
    --border:        #1f1f1f;
    --border-strong: #2e2e2e;

    /* Text */
    --text:          #ffffff;
    --muted:         #a9a9a9;
    --faint:         #6d6d6d;

    /* Effects */
    --glow:          rgba(21, 253, 0, .35);
    --shadow:        0 24px 70px rgba(0, 0, 0, .65);
    --watermark:     rgba(255, 255, 255, .035);
    --ambient-1:     rgba(21, 253, 0, .10);     /* soft moving glows in the background */
    --ambient-2:     rgba(0, 190, 255, .07);

    /* Product pictures + live preview panel (follows the theme) */
    --media:         #000000;
    --media-border:  #222222;
    --media-muted:   #8a8a8a;
    --preview-ink:   #15fd00;   /* live text preview colour                        */
    --icon-invert:   0;         /* 1 = turn the white social icons black           */

    color-scheme: dark;
}

/* ---------------------------------------------------------------------------
   LIGHT MODE
   --------------------------------------------------------------------------- */
html[data-theme="light"] {
    --accent:        #15fd00;
    --accent-text:   #087a00;   /* darker green so TEXT is readable on white       */
    --accent-ink:    #000000;
    --blue:          #0068c4;
    --danger:        #d92d2d;

    --bg:            #f2f4f2;
    --surface:       #ffffff;
    --surface-2:     #edf0ed;
    --inset:         #f6f8f6;

    --border:        #dde3dd;
    --border-strong: #c7d0c7;

    --text:          #0c0c0c;
    --muted:         #4a524a;
    --faint:         #7b837b;

    --glow:          rgba(21, 253, 0, .28);
    --shadow:        0 24px 60px rgba(0, 0, 0, .18);
    --watermark:     rgba(0, 0, 0, .045);
    --ambient-1:     rgba(21, 253, 0, .16);
    --ambient-2:     rgba(0, 150, 255, .10);

    --media:         #eef1ee;
    --media-border:  #d3dad3;
    --media-muted:   #667066;
    --preview-ink:   #0c0c0c;
    --icon-invert:   1;

    color-scheme: light;
}

/* Force a picture panel dark or light (the popup has a little button for this) */
.media-dark  { --media:#000; --media-border:#222; --media-muted:#8a8a8a; --preview-ink:#15fd00; --icon-invert:0; }
.media-light { --media:#eef1ee; --media-border:#d3dad3; --media-muted:#667066; --preview-ink:#0c0c0c; --icon-invert:1; }

/* ---------------------------------------------------------------------------
   SAME IN BOTH MODES
   --------------------------------------------------------------------------- */
:root {
    /* Header + footer bar stay dark in both modes (keeps the logo easy to see).
       Want a white header in light mode? Move these into the light block above. */
    --header-bg:     #000000;
    --header-text:   #ffffff;
    --header-line:   rgba(21, 253, 0, .22);

    /* Fonts */
    --font:          'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-outline:  'Gothic Outline', 'Montserrat', sans-serif;   /* the outline lettering font */

    /* Shapes + sizes. rem = scales with the screen, so a big 27" monitor gets bigger layouts. */
    --radius-sm:     .5rem;
    --radius:        .875rem;
    --radius-lg:     1.25rem;
    --maxw:          clamp(68rem, 74vw, 120rem);   /* widest the page content gets                */
    --pad:           clamp(1rem, 2.4vw, 3rem);     /* left/right page padding                     */
    --tap:           2.9rem;                       /* minimum button/input height (thumb friendly) */
}
