/*
Theme Name: Elzadent
Theme URI: https://elzadent.hu
Author: Hajdú Lajos
Author URI: https://www.kreativoldal.hu
Description: Egyedi WordPress téma az Elzadent fogászati rendelő számára. Elegáns, professzionális, kétnyelvű (HU/EN) design sötét magenta és baby blue arculattal.
Version: 1.0.1
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: Private
Text Domain: elzadent
Tags: dental, medical, bilingual, custom-theme
*/

/* ===================================
   CSS CUSTOM PROPERTIES
   =================================== */
:root {
    /* Brand Colors */
    --color-primary:     #6B2252;
    --color-primary-dark: #521A3F;
    --color-primary-light: #8B3070;
    --color-secondary:   #7EC8E3;
    --color-secondary-dark: #5BADC8;
    --color-accent:      #C47AAA;
    --color-accent-light: #D99BC4;

    /* Neutral Colors */
    --color-bg:          #FAF8F9;
    --color-bg-alt:      #FFFFFF;
    --color-bg-dark:     #1C1C2E;
    --color-text:        #1C1C2E;
    --color-text-light:  #6B7280;
    --color-border:      #E8DDE5;

    /* Typography */
    --font-heading:      'Playfair Display', Georgia, serif;
    --font-body:         'Inter', system-ui, -apple-system, sans-serif;

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

    /* Spacing */
    --space-1:  0.25rem;
    --space-2:  0.5rem;
    --space-3:  0.75rem;
    --space-4:  1rem;
    --space-5:  1.25rem;
    --space-6:  1.5rem;
    --space-8:  2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;

    /* Layout */
    --container-max:     1200px;
    --container-wide:    1400px;
    --container-narrow:  800px;

    /* Border Radius */
    --radius-sm:   6px;
    --radius-md:   12px;
    --radius-lg:   16px;
    --radius-xl:   24px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm:  0 1px 3px rgba(107, 34, 82, 0.08);
    --shadow-md:  0 4px 16px rgba(107, 34, 82, 0.12);
    --shadow-lg:  0 8px 32px rgba(107, 34, 82, 0.16);
    --shadow-xl:  0 16px 48px rgba(107, 34, 82, 0.20);

    /* Transitions */
    --transition-fast:   150ms ease;
    --transition-base:   250ms ease;
    --transition-slow:   400ms ease;

    /* Header */
    --header-height: 112px;
}

/* ===================================
   BASE RESET & GLOBAL STYLES
   =================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: var(--fs-base);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

ul, ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-text);
}

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

p:last-child {
    margin-bottom: 0;
}

/* ===================================
   LAYOUT UTILITIES
   =================================== */
.container {
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: var(--space-6);
}

.container--wide {
    max-width: var(--container-wide);
}

.container--narrow {
    max-width: var(--container-narrow);
}

.section {
    padding-block: var(--space-20);
}

.section--sm {
    padding-block: var(--space-12);
}

.section--lg {
    padding-block: var(--space-24);
}

.section--white {
    background-color: var(--color-bg-alt);
}

.section--cream {
    background-color: var(--color-bg);
}

.section--dark {
    background-color: var(--color-bg-dark);
    color: #fff;
}

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 {
    color: #fff;
}

/* ===================================
   TYPOGRAPHY UTILITIES
   =================================== */
.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }

.section-tag {
    display: inline-block;
    font-family: var(--font-body);
    font-size: var(--fs-sm);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: var(--space-3);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(var(--fs-3xl), 4vw, var(--fs-5xl));
    font-weight: 700;
    margin-bottom: var(--space-4);
    line-height: 1.15;
}

.section-subtitle {
    font-size: var(--fs-lg);
    color: var(--color-text-light);
    max-width: 640px;
    margin-inline: auto;
    margin-bottom: var(--space-12);
    line-height: 1.7;
}

.section-header {
    margin-bottom: var(--space-12);
}

.section-header.text-center .section-subtitle {
    margin-inline: auto;
}

/* ===================================
   DECORATIVE DIVIDERS
   =================================== */
.divider {
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    border-radius: var(--radius-full);
    margin-bottom: var(--space-6);
}

.divider--center {
    margin-inline: auto;
}

/* ===================================
   SKIP LINK (ACCESSIBILITY)
   =================================== */
.skip-link {
    position: absolute;
    top: -100%;
    left: var(--space-4);
    background: var(--color-primary);
    color: white;
    padding: var(--space-3) var(--space-6);
    border-radius: var(--radius-md);
    font-weight: 600;
    z-index: 9999;
    transition: top var(--transition-fast);
}

.skip-link:focus {
    top: var(--space-4);
    color: white;
}

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