/*
Theme Name: Гуцульські Карпати
Theme URI: https://gutculski-karpaty.com.ua
Author: U-Team Digital Studio
Author URI: https://u-team.online
Description: Офіційна преміум-тема туристичної компанії «Гуцульські Карпати» (м. Яремче). Швидкий пошук, детальні маршрути та бездоганне бронювання турів і екскурсій.
Version: 2.0.5
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 8.0
Text Domain: gutculski-theme
*/

:root {
    /* Color System */
    --c-bg-warm: #F7F4EE;
    --c-primary-forest: #17352A;
    --c-forest-dark: #0F231C;
    --c-forest-light: #234D3E;
    --c-primary-text: #18201D;
    --c-text-secondary: #4A5852;
    --c-text-muted: #6B7C75;
    --c-accent-earth: #B5653D;
    --c-accent-earth-hover: #9E532E;
    --c-accent-emerald: #2E7D5C;
    --c-accent-emerald-hover: #246449;
    --c-sand: #DED4C3;
    --c-sand-light: #EFE9DE;
    --c-sand-subtle: #F3EFE7;
    --c-white: #FFFFFF;
    --c-border: rgba(24, 32, 29, 0.12);
    --c-border-subtle: rgba(24, 32, 29, 0.06);

    /* Typography Scale */
    --font-sans: 'Plus Jakarta Sans', 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Plus Jakarta Sans', 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;

    --fs-display: clamp(2.5rem, 5vw, 3.8rem);
    --fs-h1: clamp(2rem, 3.8vw, 3rem);
    --fs-h2: clamp(1.6rem, 2.8vw, 2.25rem);
    --fs-h3: clamp(1.25rem, 2vw, 1.6rem);
    --fs-h4: clamp(1.1rem, 1.5vw, 1.25rem);
    --fs-body-lg: 1.125rem;
    --fs-body: 1rem;
    --fs-small: 0.875rem;
    --fs-xs: 0.75rem;

    /* Spacing Scale */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-8: 32px;
    --space-10: 40px;
    --space-12: 48px;
    --space-16: 64px;
    --space-20: 80px;
    --space-24: 96px;
    --space-32: 128px;

    /* Layout & Containers */
    --container-max: 1280px;
    --container-narrow: 840px;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-full: 9999px;

    /* Shadows & Elevation */
    --shadow-subtle: 0 2px 8px rgba(23, 53, 42, 0.05);
    --shadow-card: 0 8px 24px rgba(23, 53, 42, 0.08);
    --shadow-hover: 0 16px 36px rgba(23, 53, 42, 0.12);
    --shadow-sticky: 0 4px 20px rgba(15, 35, 28, 0.15);

    /* Transitions & Motion Curves */
    --transition-fast: 150ms cubic-bezier(0.16, 1, 0.3, 1);
    --transition-smooth: 250ms cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-cubic: cubic-bezier(0.23, 1, 0.32, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-tactile: cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Base Reset & Styling */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    background-color: var(--c-bg-warm);
    color: var(--c-primary-text);
    font-family: var(--font-sans);
    font-size: var(--fs-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

.container {
    width: 100%;
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--space-4);
    padding-right: var(--space-4);
}

@media (min-width: 768px) {
    .container {
        padding-left: var(--space-6);
        padding-right: var(--space-6);
    }
}
