/* ==========================================================================
   WEB BASE STYLES
   Reset, Typography & Base Elements
   ========================================================================== */

/* ==========================================================================
   CSS RESET
   ========================================================================== */

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

/* ==========================================================================
   BASE ELEMENTS
   ========================================================================== */

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--warmth-charcoal);
    background: var(--warmth-cream);
    overflow-x: hidden;
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='3' fill='%23C94A2A' opacity='0.5'/%3E%3C/svg%3E"), auto;
}

/* FORCE LIGHT MODE - OVERRIDE DARK MODE */
html {
    color-scheme: light !important;
    -webkit-color-scheme: light !important;
}

body {
    background: #FBF7F2 !important;
    color: #2C2625 !important;
}

/* Disable dark mode completely */

/* ==========================================================================
   SCROLLBAR STYLING
   Scrollbar z charakterem organicznym
   ========================================================================== */

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

::-webkit-scrollbar-track {
    background: var(--warmth-cream);
}

::-webkit-scrollbar-thumb {
    background: var(--warmth-primary);
    border-radius: 12px;
    border: 2px solid var(--warmth-cream);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--warmth-accent);
}

/* ==========================================================================
   TYPOGRAPHY
   Hierarchia typograficzna z organicznym charakterem
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.2;
    color: var(--warmth-charcoal);
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.2rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -0.01em;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
    font-size: 1.4rem;
}

h5 {
    font-size: 1.2rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
    color: rgba(44, 38, 37, 0.9);
}

/* ==========================================================================
   LINKS
   ========================================================================== */

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

a:hover {
    color: var(--warmth-accent);
    text-decoration: underline;
}

/* ==========================================================================
   LISTS
   ========================================================================== */

ul, ol {
    margin-bottom: 1.5rem;
    margin-left: 2rem;
}

li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
    color: rgba(44, 38, 37, 0.9);
}

/* ==========================================================================
   EMPHASIS
   ========================================================================== */

strong, b {
    color: var(--warmth-primary);
    font-weight: 600;
}

em, i {
    font-style: italic;
    color: var(--warmth-accent);
}

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

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

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

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

/* ==========================================================================
   MOBILE RESPONSIVE ADJUSTMENTS
   ========================================================================== */

@media (max-width: 768px) {
    .container {
        max-width: 100%;
        padding: 0 0.5rem;
        margin: 0;
    }
    
    /* Make specific sections full width on mobile */
    .expert-section .container,
    .deep-learning-section .container {
        padding: 0 0.5rem;
        max-width: none;
    }
    
    /* Ensure section content has proper mobile spacing */
    .expert-section .section-title,
    .deep-learning-section .section-title {
        padding: 0 1rem;
    }
    
    .learning-methodology {
        padding: 0 1rem;
    }
    
    /* Hide deep learning section on mobile */
    .deep-learning-section {
        display: none;
    }
    
    /* Hide "Różnica: Aktywa, nie teoria" section on mobile */
    .results-main-message {
        display: none;
    }
    
    /* Hide comparison section on mobile */
    .comparison-section {
        display: none;
    }
}