/*
Theme Name: Zamecnik Plzen 24/7
Description: Rychlá, SEO-optimalizovaná šablona pro zámečnickou pohotovost.
Author: Antigravity AI
Version: 1.0.0
Text Domain: zamecnikplzen
*/

/* Všechny styly jsou načítány z /assets/css/main.css pro lepší modulárnost. */

:root {
    /* Color Palette */
    --clr-primary: #FF9900;     /* Orange action */
    --clr-primary-hover: #E68A00;
    --clr-dark: #0A192F;        /* Deep Blue bg */
    --clr-dark-light: #112240;  /* Slightly lighter dark */
    --clr-text: #333333;
    --clr-text-light: #666666;
    --clr-bg: #F8F9FA;
    --clr-white: #FFFFFF;
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Variables */
    --radius: 8px;
    --radius-lg: 16px;
    --transition: 0.3s ease;
    --shadow: 0 10px 30px rgba(0,0,0,0.1);
    --shadow-intense: 0 15px 40px rgba(10, 25, 47, 0.3);
}

/* Base Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: var(--font-body);
    color: var(--clr-text);
    background-color: var(--clr-bg);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: var(--clr-primary); transition: var(--transition); }
a:hover { color: var(--clr-primary-hover); }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--clr-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Utilities */
.text-center { text-align: center; }
.mt-4 { margin-top: 2rem; }

/* Sticky Top Bar */
.sticky-top-bar {
    background-color: var(--clr-primary);
    color: var(--clr-dark);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.sticky-top-bar .container {
    display: flex;
    justify-content: center;
    align-items: center;
}
.top-phone {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--clr-dark);
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}
.top-phone:hover { color: #000; transform: scale(1.02); }
.phone-icon { font-size: 1.4em; }

/* Site Header */
.site-header {
    background: var(--clr-white);
    padding: 20px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    position: relative;
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.site-branding .logo {
    display: flex;
    flex-direction: column;
    font-family: var(--font-heading);
    color: var(--clr-dark);
    line-height: 1;
}
.site-branding .logo strong { font-size: 1.8rem; font-weight: 900; }
.site-branding .logo span { font-size: 1rem; color: var(--clr-primary); font-weight: 700; letter-spacing: 1px;}
.site-branding .logo:hover { opacity: 0.9; }

.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 25px;
}
.main-navigation a {
    color: var(--clr-text);
    font-weight: 600;
    font-size: 0.95rem;
}
.main-navigation a:hover { color: var(--clr-primary); }
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    color: var(--clr-dark);
    cursor: pointer;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--radius);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    border: none;
}
.btn-primary { background-color: var(--clr-primary); color: var(--clr-dark); }
.btn-primary:hover { background-color: var(--clr-primary-hover); color: var(--clr-dark); transform: translateY(-2px); box-shadow: 0 4px 15px rgba(255, 153, 0, 0.4); }
.btn-secondary { background-color: rgba(255,255,255,0.1); border: 1px solid var(--clr-white); color: var(--clr-white); }
.btn-secondary:hover { background-color: var(--clr-white); color: var(--clr-dark); }
.btn-large { padding: 16px 36px; font-size: 1.15rem; }

/* Pulse Animation */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 153, 0, 0.6); }
    70% { box-shadow: 0 0 0 15px rgba(255, 153, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 153, 0, 0); }
}
.pulse { animation: pulse 2s infinite; }

/* Hero Section */
.hero-section {
    position: relative;
    background-color: var(--clr-dark);
    padding: 100px 0;
    color: var(--clr-white);
    background-image: url('../images/hero-bg.png');
    background-size: cover;
    background-position: center;
    overflow: hidden;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10,25,47,0.95) 0%, rgba(10,25,47,0.7) 100%);
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
}
.hero-title {
    color: var(--clr-white);
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 20px;
    letter-spacing: -1px;
}
.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: rgba(255,255,255,0.85);
}
.hero-actions { display: flex; gap: 20px; justify-content: center; margin-bottom: 50px; flex-wrap: wrap; }
.hero-badges {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}
.badge {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.2);
}

/* Page / Content Styles */
.page-container {
    padding: 60px 20px;
}

.page-title {
    font-size: 2.5rem;
    margin-bottom: 30px;
    border-bottom: 3px solid var(--clr-primary);
    padding-bottom: 10px;
    display: inline-block;
}

.entry-content { font-size: 1.05rem; }
.entry-content > * { margin-bottom: 20px; }
.entry-content h2 { font-size: 2rem; margin-top: 40px; }
.entry-content h3 { font-size: 1.5rem; margin-top: 30px; }
.lead { font-size: 1.2rem; font-weight: 600; color: var(--clr-text-light); }

/* Custom UL List */
.check-list {
    list-style: none;
    padding: 0;
}
.check-list li {
    padding: 10px 0 10px 35px;
    position: relative;
    font-weight: 600;
    border-bottom: 1px solid #E0E0E0;
}
.check-list li:last-child { border-bottom: none; }
.check-list li::before {
    content: '✔';
    color: var(--clr-primary);
    position: absolute;
    left: 0;
    top: 10px;
    font-size: 1.2rem;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}
.feature-item {
    background: var(--clr-white);
    padding: 25px 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--clr-dark);
    border-top: 4px solid var(--clr-primary);
    transition: var(--transition);
}
.feature-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-intense); }

/* Tables */
.table-responsive { overflow-x: auto; margin-bottom: 20px; }
table { width: 100%; border-collapse: collapse; background: var(--clr-white); box-shadow: 0 2px 15px rgba(0,0,0,0.05); border-radius: var(--radius); overflow: hidden; }
th, td { padding: 15px; text-align: left; border-bottom: 1px solid #E0E0E0; }
th { background-color: var(--clr-dark); color: var(--clr-white); font-family: var(--font-heading); }
tr:last-child td { border-bottom: none; }
tr:nth-child(even) { background-color: #F8F9FA; }

/* Call To Action in Content */
.cta-box {
    background: var(--clr-dark-light);
    color: var(--clr-white);
    padding: 40px;
    border-radius: var(--radius-lg);
    text-align: center;
    margin-top: 50px;
}
.cta-box h3 { color: var(--clr-white); margin-bottom: 10px; }
.cta-box p { margin-bottom: 25px; opacity: 0.8; }

.bottom-cta {
    background-color: var(--clr-dark);
    padding: 80px 0;
    color: var(--clr-white);
}
.bottom-cta h2 { color: var(--clr-white); font-size: 2.5rem; margin-bottom: 15px; }
.bottom-cta p { font-size: 1.2rem; color: rgba(255,255,255,0.8); }

/* Footer */
.site-footer {
    background-color: #050E1B;
    color: rgba(255,255,255,0.7);
    padding-top: 60px;
}
.footer-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}
.footer-logo { color: var(--clr-white) !important; margin-bottom: 20px; display: inline-block; }
.footer-logo strong { font-size: 1.5rem; }
.footer-logo span { color: var(--clr-primary); }
.footer-col h3 { color: var(--clr-white); font-size: 1.2rem; margin-bottom: 20px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { color: rgba(255,255,255,0.7); }
.footer-col a:hover { color: var(--clr-primary); padding-left: 5px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0; text-align: center; font-size: 0.9rem; }

/* Responsive */
@media (max-width: 991px) {
    .main-navigation { display: none; }
    .mobile-menu-toggle { display: block; }
    .hero-title { font-size: 2.5rem; }
    .main-navigation.is-open {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--clr-white);
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        z-index: 999;
    }
    .main-navigation.is-open ul { flex-direction: column; gap: 15px; }
    .page-title { font-size: 2rem; }
}
@media (max-width: 576px) {
    .feature-item { padding: 15px; }
    .hero-actions { flex-direction: column; gap: 15px; }
    .btn-large { width: 100%; }
}


.logo { display: flex; align-items: center; gap: 10px; }
.logo-icon { width: 35px; height: 35px; object-fit: contain; }
.logo-text { display: flex; flex-direction: column; }
.logo-text strong { line-height: 1.1; }
.logo-text span { line-height: 1; margin-top: 2px; }


.main-navigation.is-open { padding: 20px; }
.main-navigation.is-open ul { display: flex !important; }


/* Contact Form 7 Styling */
.wpcf7 { background: var(--clr-white); padding: 30px; border-radius: var(--radius); box-shadow: var(--shadow); margin-top: 20px; }
.wpcf7-form p { margin-bottom: 20px; }
.wpcf7-form label { display: block; font-weight: 600; margin-bottom: 5px; color: var(--clr-dark); }
.wpcf7-form-control.wpcf7-text, .wpcf7-form-control.wpcf7-textarea, .wpcf7-form-control.wpcf7-select { width: 100%; padding: 12px 15px; border: 2px solid #e2e8f0; border-radius: var(--radius); background-color: var(--clr-bg); font-family: var(--font-body); font-size: 1rem; color: var(--clr-text); transition: var(--transition); box-sizing: border-box; }
.wpcf7-form-control.wpcf7-text:focus, .wpcf7-form-control.wpcf7-textarea:focus { outline: none; border-color: var(--clr-primary); background-color: var(--clr-white); }
.wpcf7-submit { display: inline-block; background-color: var(--clr-primary); color: var(--clr-dark); padding: 15px 30px; font-weight: 700; font-size: 1.1rem; text-align: center; border: none; border-radius: var(--radius); cursor: pointer; transition: var(--transition); width: 100%; letter-spacing: 1px; }
.wpcf7-submit:hover { background-color: var(--clr-primary-hover); transform: translateY(-2px); box-shadow: var(--shadow); }
.wpcf7-not-valid-tip { color: #dc2626; font-size: 0.85rem; margin-top: 5px; display: block; }
div.wpcf7-response-output { border-radius: var(--radius); margin-top: 20px !important; padding: 15px; border: 2px solid transparent !important; }
form.invalid div.wpcf7-response-output, form.unaccepted div.wpcf7-response-output { border-color: #f5c6cb !important; background-color: #f8d7da; color: #721c24; margin-left: 0; margin-right: 0; }
form.sent div.wpcf7-response-output { border-color: #c3e6cb !important; background-color: #d4edda; color: #155724; margin-left: 0; margin-right: 0;}

