/*
Theme Name: Maridom 1:1 Replica
Theme URI: https://maridom.cz/
Description: A pixel-perfect, highly responsive custom WordPress theme for Maridom.
Author: Antigravity AI
Version: 2.0.1
Text Domain: maridom
*/

/* ==========================================================================
   Design System & Variables – PREMIUM OVERHAUL
   ========================================================================== */
:root {
    /* Colors – deeper, more vivid */
    --primary-green: #006b2d;
    --primary-green-light: #00a040;
    --primary-green-vivid: #00c04b;
    --accent-gold: #d4a843;
    --accent-gold-light: #f0c96a;
    --bg-light-gray: #f0f0ec;
    --bg-cream: #faf8f4;
    --text-main: #0f1812;
    --text-muted: #4a5248;
    --white: #ffffff;
    --footer-black: #0a0f0c;

    /* Gradients */
    --grad-green: linear-gradient(135deg, #004d20 0%, #008037 50%, #00b34a 100%);
    --grad-dark: linear-gradient(135deg, #0f1812 0%, #1e3028 100%);
    --grad-hero: linear-gradient(to bottom, rgba(5, 15, 8, 0.55) 0%, rgba(5, 15, 8, 0.75) 100%);

    /* Spacing & Layout - PC DESKTOP SCALE */
    --section-padding: 140px;
    --container-padding: 40px;
    --content-width: 1280px;
    --radius-sm: 6px;
    --radius-md: 14px;
    --radius-lg: 24px;
    --transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);

    /* Typography - PC DESKTOP SCALE */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    --h1-size: 4.8rem;
    --h2-size: 3.2rem;
    --h3-size: 2.2rem;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 20px 48px rgba(0, 0, 0, 0.16);
    --shadow-green: 0 8px 28px rgba(0, 107, 45, 0.30);
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-body);
    color: var(--text-main);
    line-height: 1.65;
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease, background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* ==========================================================================
   Layout Components
   ========================================================================== */
.container {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: var(--section-padding) 0;
}

.grid {
    display: grid;
    gap: 30px;
}

/* ==========================================================================
   Buttons – vivid & tactile
   ========================================================================== */
.btn {
    display: inline-block;
    padding: 14px 34px;
    background: var(--grad-green);
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.08em;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
    box-shadow: var(--shadow-green);
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0);
    transition: background 0.25s;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 36px rgba(0, 107, 45, 0.40);
}

.btn:hover::after {
    background: rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   Product Cards
   ========================================================================== */
.card {
    background: var(--bg-cream);
    padding: 40px;
    border-radius: var(--radius-md);
    transition: var(--transition);
    text-align: center;
    border: 1px solid rgba(0, 107, 45, 0.08);
}

.card:hover {
    border-color: var(--primary-green-light);
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background: var(--footer-black);
    color: var(--white);
    padding: 80px 0 40px;
}

/* ==========================================================================
   Mobile Responsiveness Overrides
   ========================================================================== */
@media (max-width: 768px) {
    :root {
        --h1-size: 2.5rem;
        --h2-size: 2rem;
        --section-padding: 60px;
        --container-padding: 16px;
    }

    .container {
        padding: 0 var(--container-padding);
    }
}

/* ==========================================================================
   Global Hero Title Design Overrides (Codec Pro ExtraBold & Gradient Accent)
   ========================================================================== */
.podvozek-title-section h1,
.og-title-section h1,
.detail-header h1,
.premium-hero h1,
.galerie-hero h1,
.vystavy-hero h1,
.kontakt-hero h2,
.hero-title {
    font-family: "Codec Pro ExtraBold", Sans-serif !important;
    font-weight: 400 !important;
    letter-spacing: -0.02em !important;
    line-height: 1.12 !important;
    text-transform: none !important;
}

.podvozek-title-section h1 i,
.og-title-section h1 i,
.detail-header h1 i,
.premium-hero h1 i,
.galerie-hero h1 i,
.vystavy-hero h1 i,
.kontakt-hero h2 i,
.hero-title i {
    font-family: "Codec Pro ExtraBold", Sans-serif !important;
    font-style: normal !important;
    background: linear-gradient(90deg, #80ffb0, #40e080) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    font-weight: 400 !important;
}