/* ========================================
   BENÌSS CAFFÈ BISTRÒ - Design System
   ======================================== */

/* Google Fonts - loaded via enqueue.php */

:root {
    /* Colori Principali */
    --color-background: #F5F1EB;
    --color-background-alt: rgba(234, 227, 215, 0.3);
    --color-white: #FFFFFF;
    --color-card-bg: #FCFAF8;

    /* Accent */
    --color-primary: #BF9B5A;
    --color-primary-hover: #A8863E;
    --color-primary-dark: #251D0E;

    /* Testi */
    --color-text: #2E291F;
    --color-text-light: #5A5347;
    --color-text-white: #FFFFFF;

    /* Header */
    --color-header-bg: rgba(245, 241, 235, 0.6);
    --color-header-scrolled: rgba(245, 241, 235, 0.95);

    /* Font Families */
    --font-heading: 'Literata', serif;
    --font-body: 'Literata', serif;

    /* Font Sizes */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --text-6xl: 4rem;
    --text-hero: 5rem;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    --space-section: 8rem;
}

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

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: var(--text-base);
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-background);
    overflow-x: hidden;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: var(--space-sm);
}

h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-3xl); }
h4 { font-size: var(--text-2xl); }
h5 { font-size: var(--text-xl); }
h6 { font-size: var(--text-lg); }

p {
    margin-bottom: var(--space-sm);
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-primary-hover);
}

/* ========================================
   LAYOUT
   ======================================== */

.wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.site-inner {
    margin-top: 0;
    padding-top: 0;
}

/* Full width override */
.full-width-content .content {
    width: 100%;
    max-width: 100%;
    padding: 0;
}

/* ========================================
   SECTION STYLING
   ======================================== */

.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-title {
    font-family: var(--font-heading);
    font-size: var(--text-4xl);
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--space-sm);
}

.section-subtitle {
    font-family: var(--font-body);
    font-size: var(--text-lg);
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto;
}

.section-cta {
    text-align: center;
    margin-top: var(--space-2xl);
}

/* Page title style */
.page-title-script {
    font-family: var(--font-heading);
    font-size: var(--text-5xl);
    font-weight: 700;
    text-align: center;
    color: var(--color-text);
    margin-bottom: var(--space-xl);
}

/* ========================================
   IMAGES
   ======================================== */

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

.circular-image {
    border-radius: 50%;
    overflow: hidden;
    aspect-ratio: 1;
}

.circular-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

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