/*
Theme Name: FotoTour Santiago
Theme URI: https://fototoursantiago.com
Author: Fabian
Description: Custom theme for FotoTour Santiago - Photography Tours in Chile
Version: 1.0.0
Text Domain: fts-theme
Requires at least: 6.0
Requires PHP: 8.0
*/

/* ==========================================================================
   CSS CUSTOM PROPERTIES - FARBEN HIER ÄNDERN!
   ========================================================================== */

:root {
    /* =====================================================
       HAUPTFARBEN - Diese hier anpassen!
       ===================================================== */
    
    /* Primärfarbe (Türkis - Akzentfarbe) */
    --color-primary: #4ecdc4;
    --color-primary-light: #7ee8e1;
    --color-primary-dark: #3db5ad;
    --color-primary-rgb: 78, 205, 196;
    
    /* Sekundärfarbe (Warmes Orange) */
    --color-secondary: #f39c12;
    --color-secondary-light: #f5b041;
    --color-secondary-dark: #d68910;
    
    /* =====================================================
       NEUTRALE FARBEN
       ===================================================== */
    --color-white: #ffffff;
    --color-black: #000000;
    
    --color-gray-50: #fafafa;
    --color-gray-100: #f5f5f5;
    --color-gray-200: #e5e5e5;
    --color-gray-300: #d4d4d4;
    --color-gray-400: #a3a3a3;
    --color-gray-500: #737373;
    --color-gray-600: #525252;
    --color-gray-700: #404040;
    --color-gray-800: #262626;
    --color-gray-900: #171717;
    
    /* Text & Background */
    --color-text: #1a1a1a;
    --color-text-light: #525252;
    --color-text-muted: #737373;
    --color-text-inverse: #ffffff;
    
    --color-bg: #ffffff;
    --color-bg-alt: #f8f8f8;
    --color-bg-dark: #111111;
    
    /* Borders */
    --color-border: #e5e5e5;
    
    /* =====================================================
       TYPOGRAFIE
       ===================================================== */
    --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Fluid Font Sizes */
    --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
    --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
    --text-base: clamp(1rem, 0.9rem + 0.5vw, 1.125rem);
    --text-lg: clamp(1.125rem, 1rem + 0.6vw, 1.25rem);
    --text-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
    --text-2xl: clamp(1.5rem, 1.2rem + 1.5vw, 2rem);
    --text-3xl: clamp(2rem, 1.5rem + 2.5vw, 3rem);
    --text-4xl: clamp(2.5rem, 1.8rem + 3.5vw, 4rem);
    --text-5xl: clamp(3rem, 2rem + 5vw, 6rem);
    --text-hero: clamp(4rem, 2.5rem + 8vw, 12rem);
    
    /* =====================================================
       SPACING & LAYOUT
       ===================================================== */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    --space-5xl: 8rem;
    
    --container-max: 1400px;
    --container-narrow: 800px;
    --container-padding: clamp(1rem, 5vw, 3rem);
    
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-base: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.15);
    
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms ease;
    
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-header: 300;
    --z-fixed: 300;
    --z-modal: 400;
}

[data-theme="dark"] {
    --color-text: #ffffff;
    --color-text-light: #a3a3a3;
    --color-text-muted: #737373;
    --color-bg: #111111;
    --color-bg-alt: #1a1a1a;
    --color-border: #333333;
}

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

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

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

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

::selection {
    background-color: var(--color-primary);
    color: var(--color-white);
}

:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

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

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

ul, ol { list-style: none; }

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

/* ==========================================================================
   UTILITIES
   ========================================================================== */

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

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

.text-center { text-align: center; }
.text-primary { color: var(--color-primary); }

.py-3xl { padding-top: var(--space-3xl); padding-bottom: var(--space-3xl); }
.py-4xl { padding-top: var(--space-4xl); padding-bottom: var(--space-4xl); }
.py-5xl { padding-top: var(--space-5xl); padding-bottom: var(--space-5xl); }

.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;
}
