/*
Theme Name: Qkood Marketing
Theme URI: https://qkood.cz/
Author: Your Name
Author URI: https://yourwebsite.com/
Description: A modern marketing theme for Qkood, a digital QR menu service for restaurants.
Version: 1.0.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: marketing, business, clean, modern, responsive
Text Domain: qkood
*/

/* --- Globální Proměnné a Reset --- */
:root {
    --primary-color: #3B82F6; /* modrá */
    --secondary-color: #1F2937; /* tmavě šedá */
    --accent-color: #10B981; /* zelená */
    --light-gray: #F3F4F6;
    --text-color: #374151;
    --heading-color: #111827;
    --white-color: #FFFFFF;
    --border-color: #E5E7EB;
    
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --header-height: 80px;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-family);
    color: var(--text-color);
    background-color: var(--white-color);
    line-height: 1.6;
    font-size: 16px;
}

#page-content {
    padding-top: var(--header-height);
}

/* --- Kontejner a Typografie --- */
.container {
    width: 100%;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

h1, h2, h3 {
    color: var(--heading-color);
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: 3rem; margin-bottom: 1rem; }
h2 { font-size: 2.25rem; margin-bottom: 1.5rem; }
h3 { font-size: 1.5rem; margin-bottom: 1rem; }

p { margin-bottom: 1rem; }
a { color: var(--primary-color); text-decoration: none; }
a:hover { text-decoration: underline; }
.text-center { text-align: center; }
.subtitle {
    font-size: 1.25rem;
    color: #6B7280;
    max-width: 600px;
    margin: 0 auto;
}
.section-title {
    margin-bottom: 40px;
}

/* --- Tlačítka --- */
.button {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}
.button-primary {
    background-color: var(--primary-color);
    color: var(--white-color);
}
.button-primary:hover {
    background-color: #2563EB;
    transform: translateY(-2px);
}
.button-secondary {
    background-color: var(--white-color);
    color: var(--primary-color);
    border-color: var(--border-color);
}
.button-secondary:hover {
    background-color: var(--light-gray);
    border-color: #D1D5DB;
}
.button-light {
    background-color: var(--white-color);
    color: var(--primary-color);
}
.button-light:hover {
    background-color: rgba(255, 255, 255, 0.9);
}
.button-login { padding: 8px 20px; }


/* --- Header --- */
#site-header {
    background-color: var(--white-color);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: var(--header-height);
}
#site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}
.site-logo img {
    height: 40px;
    width: auto;
    display: block;
}
.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 30px;
}
.main-navigation a {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}
.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}
.main-navigation .current-menu-item a::after,
.main-navigation a:hover::after {
    width: 100%;
}
#mobile-menu-toggle { display: none; }


/* --- Footer --- */
#site-footer {
    background-color: var(--secondary-color);
    color: #9CA3AF;
    padding: 40px 0;
    width: 100%;
}
#site-footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-left .custom-logo-link {
    filter: brightness(0) invert(1); /* This CSS trick makes your logo white */
    opacity: 0.8;
}
.footer-center p {
    margin: 0;
    font-size: 0.9rem;
}
.footer-right .quick-links {
    list-style: none;
    display: flex;
    gap: 20px;
}
.footer-right a {
    color: #D1D5DB;
    font-size: 0.9rem;
}
.footer-right a:hover {
    color: var(--white-color);
}

/* --- Sekce --- */
section { 
    padding-top: 80px;
    padding-bottom: 80px; 
    width: 100%;
}
.page-header-section {
    background-color: var(--light-gray);
    padding: 60px 0;
}

/* --- Hero Section (Domů) --- */
.hero-section {
    padding-top: 100px;
    padding-bottom: 60px;
    background-color: var(--light-gray);
}
.hero-image {
    margin-top: 60px;
    max-width: 800px;
    width: 100%;
}

/* --- Features Section (Domů) --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}
.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}
.feature-item p {
    color: #6B7280;
}

/* --- Benefits Section (Domů) --- */
.benefits-section {
    background-color: var(--light-gray);
}
.benefit-item {
    display: flex;
    gap: 50px;
    align-items: center;
    margin-bottom: 60px;
}
.benefit-item:last-child {
    margin-bottom: 0;
}
.benefit-item.reverse {
    flex-direction: row-reverse;
}
.benefit-text, .benefit-image {
    flex: 1;
}
.benefit-image img {
    max-width: 100%;
    border-radius: 12px;
}

/* --- CTA Section --- */
.cta-section {
    background-color: var(--primary-color);
    color: var(--white-color);
}
.cta-section h2 {
    color: var(--white-color);
}
.cta-section p {
    max-width: 500px;
    margin: 0 auto 30px auto;
    opacity: 0.9;
}

/* --- Pricing Section (Ceník) --- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: flex-start;
}
.pricing-card {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}
.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}
.pricing-card.featured {
    border-color: var(--primary-color);
    border-width: 2px;
}
.featured-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}
.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--heading-color);
    margin: 10px 0;
}
.price-period {
    font-size: 1rem;
    color: #6B7280;
    font-weight: 400;
}
.card-description {
    min-height: 60px;
    color: #6B7280;
}
.pricing-card ul {
    list-style: none;
    margin: 30px 0;
    text-align: left;
}
.pricing-card li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}
.pricing-card li i {
    margin-right: 10px;
    width: 20px;
}
.pricing-card .fa-check { color: var(--accent-color); }
.pricing-card .fa-times { color: #EF4444; }
.pricing-card .button {
    width: 100%;
}

/* --- Content & Contact --- */
.content-container {
    max-width: 800px;
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    
    .features-grid, .pricing-grid {
        grid-template-columns: 1fr;
    }
    .pricing-card {
        margin-bottom: 30px;
    }
    .benefit-item, .benefit-item.reverse {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    :root { --header-height: 70px; }

    .main-navigation {
        display: none; /* Hide for mobile */
    }

    #mobile-menu-toggle {
        display: block;
        background: none;
        border: none;
        font-size: 2rem;
        cursor: pointer;
    }
    
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    #site-footer .container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}