/*
Theme Name:   Manredos
Theme URI:    https://example.com/manredos
Description:  Motyw potomny dla Hello Elementor
Author:       Manredos
Author URI:   https://example.com
Template:     hello-elementor
Version:      1.0.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  manredos
Tags:         elementor, child-theme, custom
*/

/* ==========================================================================
   Manredos Child Theme - Własne style CSS
   ========================================================================== */

/* ---- Zmienne CSS ---- */
:root {
    --manredos-primary:     #2563eb;
    --manredos-secondary:   #1e40af;
    --manredos-accent:      #f59e0b;
    --manredos-text:        #1f2937;
    --manredos-light:       #f9fafb;
    --manredos-dark:        #111827;
    --manredos-font-main:   'Inter', sans-serif;
    --manredos-font-heading: 'Poppins', sans-serif;
    --manredos-radius:      8px;
    --manredos-shadow:      0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -1px rgba(0,0,0,.06);
}

/* ---- Reset / Podstawy ---- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: var(--manredos-font-main);
    color: var(--manredos-text);
    line-height: 1.7;
}

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

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

a:hover {
    color: var(--manredos-secondary);
}

/* ---- Kontenery ---- */
.site-content .container {
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: 1.5rem;
}

/* ---- Przyciski ---- */
.elementor-button,
button,
input[type="submit"],
input[type="button"] {
    border-radius: var(--manredos-radius);
    transition: background-color .25s ease, transform .2s ease, box-shadow .25s ease;
}

.elementor-button:hover,
button:hover,
input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: var(--manredos-shadow);
}

/* ---- Nagłówek strony ---- */
.site-header {
    background-color: #ffffff;
    border-bottom: 1px solid rgba(0,0,0,.08);
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 1px 8px rgba(0,0,0,.06);
}

/* ---- Stopka ---- */
.site-footer {
    background-color: var(--manredos-dark);
    color: #d1d5db;
    padding: 3rem 0 1.5rem;
}

.site-footer a {
    color: #9ca3af;
}

.site-footer a:hover {
    color: #ffffff;
}

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

/* ---- Formularze ---- */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
textarea,
select {
    border: 1px solid #d1d5db;
    border-radius: var(--manredos-radius);
    padding: .625rem 1rem;
    width: 100%;
    font-family: var(--manredos-font-main);
    font-size: 1rem;
    transition: border-color .25s ease, box-shadow .25s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus {
    outline: none;
    border-color: var(--manredos-primary);
    box-shadow: 0 0 0 3px rgba(37,99,235,.15);
}

/* ---- Elementy Elementor – drobne korekty ---- */
.elementor-widget-heading .elementor-heading-title {
    font-family: var(--manredos-font-heading);
}

.elementor-widget-image img {
    border-radius: var(--manredos-radius);
}

/* ---- Responsywność ---- */
@media (max-width: 1024px) {
    :root {
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    :root {
        font-size: 14px;
    }

    .site-header {
        position: relative;
    }
}

@media (max-width: 480px) {
    :root {
        font-size: 13px;
    }
}
