/* ============================================
   KORU POKE - STILE GENERALE
   Brand Identity: #003f30 (verde scuro) | #dbcebf (beige caldo)
   ============================================ */

/* ============================================
   RESET & BASE
   ============================================ */

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--color-text-primary);
    background-color: var(--color-bg-primary);
    line-height: var(--line-height-normal);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul, ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
}

/* ============================================
   VARIABILI CSS - BRAND KORU POKE
   ============================================ */

:root {
    /* ---- COLORI BRAND ---- */
    --color-green-dark:    #003f30;   /* Verde scuro principale */
    --color-green-primary: #005c45;   /* Verde medio */
    --color-green-medium:  #007a5e;   /* Verde medio-chiaro */
    --color-green-light:   #a8d5c5;   /* Verde chiaro */
    --color-green-pale:    #e8f5f0;   /* Verde pallido bg */

    --color-beige-dark:    #c4b09a;   /* Beige scuro */
    --color-beige:         #dbcebf;   /* Beige principale */
    --color-beige-light:   #ede5da;   /* Beige chiaro */
    --color-beige-pale:    #f7f3ee;   /* Beige pallido bg */

    /* ---- COLORI NEUTRI ---- */
    --color-white:         #ffffff;
    --color-off-white:     #f9f6f2;
    --color-black:         #111111;
    --color-gray-dark:     #333333;
    --color-gray-medium:   #666666;
    --color-gray-light:    #e0e0e0;

    /* ---- COLORI TESTO ---- */
    --color-text-primary:  #1a1a1a;
    --color-text-secondary:#555555;
    --color-text-light:    #888888;

    /* ---- COLORI BG ---- */
    --color-bg-primary:    #ffffff;
    --color-bg-secondary:  #f7f3ee;
    --color-bg-dark:       #003f30;

    /* ---- TIPOGRAFIA ---- */
    --font-display: 'Georgia', 'Times New Roman', serif;
    --font-body:    'Helvetica Neue', 'Arial', sans-serif;

    --font-size-xs:   0.75rem;   /* 12px */
    --font-size-sm:   0.875rem;  /* 14px */
    --font-size-base: 1rem;      /* 16px */
    --font-size-lg:   1.125rem;  /* 18px */
    --font-size-xl:   1.25rem;   /* 20px */
    --font-size-2xl:  1.5rem;    /* 24px */
    --font-size-3xl:  1.875rem;  /* 30px */
    --font-size-4xl:  2.25rem;   /* 36px */
    --font-size-5xl:  3rem;      /* 48px */

    --font-weight-normal:   400;
    --font-weight-medium:   500;
    --font-weight-semibold: 600;
    --font-weight-bold:     700;
    --font-weight-black:    900;

    --line-height-tight:   1.2;
    --line-height-normal:  1.6;
    --line-height-relaxed: 1.8;

    /* ---- SPAZIATURA ---- */
    --spacing-xs:   0.25rem;   /* 4px */
    --spacing-sm:   0.5rem;    /* 8px */
    --spacing-md:   0.75rem;   /* 12px */
    --spacing-lg:   1rem;      /* 16px */
    --spacing-xl:   1.5rem;    /* 24px */
    --spacing-2xl:  2rem;      /* 32px */
    --spacing-3xl:  3rem;      /* 48px */
    --spacing-4xl:  4rem;      /* 64px */

    /* ---- BORDER RADIUS ---- */
    --radius-sm:   4px;
    --radius-md:   8px;
    --radius-lg:   12px;
    --radius-xl:   16px;
    --radius-2xl:  24px;
    --radius-full: 9999px;

    /* ---- OMBRE ---- */
    --shadow-sm:  0 1px 3px rgba(0, 63, 48, 0.08), 0 1px 2px rgba(0, 63, 48, 0.06);
    --shadow-md:  0 4px 12px rgba(0, 63, 48, 0.12), 0 2px 6px rgba(0, 63, 48, 0.08);
    --shadow-lg:  0 10px 30px rgba(0, 63, 48, 0.15), 0 4px 12px rgba(0, 63, 48, 0.10);
    --shadow-xl:  0 20px 50px rgba(0, 63, 48, 0.20), 0 8px 20px rgba(0, 63, 48, 0.12);

    /* ---- TRANSIZIONI ---- */
    --transition-fast:   0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow:   0.5s ease;

    /* ---- LAYOUT ---- */
    --max-width: 1200px;
    --container-padding: 1.5rem;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ============================================
   SCROLLBAR PERSONALIZZATA
   ============================================ */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-beige-pale);
}

::-webkit-scrollbar-thumb {
    background: var(--color-green-primary);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-green-dark);
}

/* ============================================
   SELEZIONE TESTO
   ============================================ */

::selection {
    background-color: var(--color-green-dark);
    color: var(--color-beige);
}
