/*
Theme Name: Kontejnery Ustecko
Theme URI: https://www.kontejnery-ustecko.cz
Author: Ondřej Vajda (implemented by Claude)
Description: WordPress theme for Kontejnery Ustecko company website
Version: 1.0
*/

/* Reset and base styles */
:root {
            --primary: #000000;
            --secondary: #3e91da;
            --dark: #1a1a1a;
            --light: #f8f9fa;
            --accent: #3e91da;
            --gray: #f1f1f1;
            --text: #333333;
			--bg-grey: #303030;
			--bg-dark-grey: #222222;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        
        body {
            background-color: white;
            color: var(--text);
            line-height: 1.6;
        }
        
        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        header {
            background-color: var(--bg-grey);
            color: white;
            padding: 20px 0;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            position: sticky;
            top: 0;
            z-index: 100;
        }
		
		.entry-header {
            color: black;
            padding: 20px 0;
            top: 0;
            z-index: 100;
        }
		.entry-title {
    margin-bottom: 10px;
    position: relative;
    padding-bottom: 10px;
	}
		.entry-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 4px;
    background-color: var(--secondary);
}
		.entry-content {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
        }
        
        .header-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .logo {
            font-size: 24px;
            font-weight: bold;
            color: white;
            text-decoration: none;
            display: flex;
            align-items: center;
        }
        
        .logo-icon {
            margin-right: 10px;
            font-size: 30px;
            color: var(--secondary);
        }
        
        nav {
            transition: all 0.3s ease;
        }
        
        nav ul {
            display: flex;
            list-style: none;
        }
        
        nav ul li {
            margin-left: 20px;
        }  
		
		nav ul li a {
    position: relative;
    text-decoration: none;
    transition: color 0.3s ease;
	font-weight: 500;
	padding: 10px 10px;
	color: white;
	text-transform:uppercase;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 4px;
    background-color: var(--secondary);
    transition: width 0.3s ease;
}

nav ul li a:hover {
    color: white;
}

nav ul li a:hover::after {
    width: 100%;
}
        
        .mobile-menu {
            display: none;
            font-size: 24px;
            cursor: pointer;
            color: white;
            background: none;
            border: none;
            z-index: 101;
        }
        
        .hero {
            position: relative;
            height: 60vh;
            background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('assets/img/header.webp') center/cover;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            color: white;
        }
        
        .hero-content {
            max-width: 900px;
            padding: 20px;
        }
        
        .hero h1 {
            font-size: 48px;
            margin-bottom: 20px;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
        }
        
        .hero p {
            font-size: 18px;
            margin-bottom: 30px;
        }
        
        .btn {
            display: inline-block;
            background-color: var(--secondary);
            color: white;
            padding: 12px 30px;
            border-radius: 4px;
            text-decoration: none;
            font-weight: bold;
            transition: background-color 0.3s, transform 0.3s;
        }
        
        .btn:hover {
            background-color: #2e81ca;
            transform: translateY(-3px);
        }
        
        .services {
            padding: 80px 0;
            background-color: white;
        }
        
        .section-title {
            text-align: center;
            margin-bottom: 50px;
            font-size: 36px;
            color: black;
        }
        
        .section-title span {
            color: var(--secondary);
        }
        
        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
        }
        
        .service-card {
            background-color: white;
            border-radius: 8px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            padding: 30px;
            transition: transform 0.3s;
            text-align: center;
            border: 1px solid #eee;
        }
        
        .service-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
        }
        
        .service-icon {
            font-size: 40px;
            color: grey;
            margin-bottom: 20px;
        }
		.recycle::before {
			content: "♻️";
		}
		.truck::before {
			content: "🚚";
		}
		.demolition::before {
			content: "🏗️";
		}
        
        .service-card h3 {
            margin-bottom: 15px;
            color: black;
        }
        
        .service-card p {
            color: #666;
        }
        
        .about {
    padding: 80px 0;
    background-color: var(--gray);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 100%; /* Zajistí, že container má plnou výšku */
    display: flex; /* Pro správné zarovnání obrázku */
    align-items: center;
}

.about-image img {
    width: 100%;
    height: 100%; /* Změní auto na 100% */
    display: block;
    object-fit: cover; /* Zajistí, že obrázek vyplní celý prostor a zachová poměr stran */
}

.about-text h2 {
    margin-bottom: 20px;
    color: black;
}

.about-text p {
    margin-bottom: 15px;
    color: #000;
}
.about-container {
    max-width: 700px;
    padding: 20px;
}

.about-title {
    color: var(--primary);
    text-align: center;
    margin-bottom: 20px;
    font-size: 24px;
    padding-bottom: 6px;
}

.about-list {
    list-style: none;
    padding: 0;
}

.about-item {
    padding: 8px 11px;
    background-color: white;
    border-left: 4px solid var(--secondary);
    transition: transform 0.2s, box-shadow 0.2s;
}

.about-item:hover {
    transform: translateX(5px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.about-item::before {
    content: "♻️";
    margin-right: 10px;
    color: var(--secondary);
}
        
        @media (max-width: 768px) {
            .about-container {
                padding: 15px;
            }
            
            .about-item {
                padding: 10px;
            }
            
            .about-item:hover {
                transform: none;
            }
        }
        .price-list {
            padding: 80px 0;
            background-color: white;
        }
        
        .price-table {
            width: 100%;
            border-collapse: collapse;
            margin-top: 30px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            border-radius: 8px;
            overflow: hidden;
        }
        
        .price-table th, .price-table td {
            padding: 15px;
            text-align: left;
            border-bottom: 1px solid #eee;
        }
        
        .price-table th {
            background-color: black;
            color: white;
            font-weight: 600;
        }
        
        .price-table tr:nth-child(even) {
            background-color: #f9f9f9;
        }
        
        .price-table tr:hover {
            background-color: #f1f1f1;
        }
        
        .price-table td:nth-child(2) {
            color: var(--secondary);
            font-weight: bold;
        }
		
		.price-text {
			text-align: center;
			color: #888888;
			font-size: 0.9em;
			margin-top: 10px;
		}
		
		.price-text a{
			text-decoration: none;
			color: var(--secondary);
		}
        
		.price-text a:hover{
			text-decoration: none;
			color: var(--secondary);
		}
		
        .contact {
            padding: 80px 0;
            background-color: var(--gray);
        }
        
        .contact-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 50px;
        }
        
        .contact-info h3 {
            margin-bottom: 20px;
            font-size: 24px;
            color: black;
            position: relative;
            padding-bottom: 10px;
        }
        
        .contact-info h3::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: 0;
            width: 50px;
            height: 3px;
            background-color: var(--secondary);
        }
        
        .contact-details {
            margin-bottom: 30px;
        }
        
        .contact-details p {
            margin-bottom: 10px;
            display: flex;
            align-items: center;
        }
        
        .contact-icon {
            margin-right: 10px;
            color: var(--primary);
            font-size: 20px;
        }
        
        .contact-form {
            background-color: white;
            padding: 30px;
            border-radius: 8px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }
        
        .form-group {
            margin-bottom: 20px;
        }
        
        .form-group label {
            display: block;
            margin-bottom: 5px;
            font-weight: 500;
        }
        
        .form-control {
            width: 100%;
            padding: 12px;
            border: 1px solid #ddd;
            border-radius: 4px;
            font-size: 16px;
            transition: border-color 0.3s;
        }
        
        .form-control:focus {
            outline: none;
            border-color: var(--secondary);
        }
        
        textarea.form-control {
            height: 120px;
            resize: vertical;
        }
        
        .btn-submit {
            background-color: black;
            color: white;
            border: none;
            padding: 12px 25px;
            border-radius: 4px;
            cursor: pointer;
            font-size: 16px;
            font-weight: 500;
            transition: background-color 0.3s, transform 0.3s;
        }
        
        .btn-submit:hover {
            background-color: #333;
            transform: translateY(-3px);
        }
        
        footer {
            background-color: var(--bg-dark-grey);
            color: white;
            padding: 40px 0 20px;
        }
        
        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 30px;
            margin-bottom: 30px;
        }
        
        .footer-column h3 {
            font-size: 18px;
            margin-bottom: 10px;
            position: relative;
            padding-bottom: 10px;
        }
        
        .footer-column h3::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: 0;
            width: 50px;
            height: 2px;
            background-color: var(--secondary);
        }
        
        .footer-column .item {
            color: #bbb;
            display: block;
			margin: 0;
			padding: 0;
            text-decoration: none;
            transition: color 0.3s;
        }
        
        .footer-column a:hover {
            color: var(--secondary);
        }
		.footer-column a {
            color: #bbb;
            text-decoration: none;
            transition: color 0.3s;
        }
		.footer-column span {
			color: var(--secondary);
		}
        
        .copyright {
            text-align: center;
            padding-top: 20px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            color: #bbb;
            font-size: 14px;
        }
		.copyright a {
    color: #004080;
    text-decoration: none;
    transition: color 0.3s ease;
}

.copyright a:hover {
    color: #3e91da;
    text-decoration: none;
}
        
        .highlight {
            color: var(--secondary);
            font-weight: bold;
        }
/* Pro mobilní telefony vypnout animaci */
@media (max-width: 768px) {
    nav ul li a::after {
        transition: none;
    }
    
    nav ul li a:hover::after {
        width: 0; /* Nebo můžete nastavit na 100% pro okamžité zobrazení bez animace */
    }
    
    /* Alternativně, pokud chcete zachovat podtržení, ale bez animace */
    nav ul li a:hover {
        color: white;
        border-bottom: 4px solid var(--secondary);
    }
}        
        /* Responsivní navigace */
        @media (max-width: 768px) {
            .about-content, .contact-content {
                grid-template-columns: 1fr;
            }
            
            .hero h1 {
                font-size: 36px;
            }
            
            .section-title {
                font-size: 28px;
            }
        }
        
        @media (max-width: 576px) {
            .mobile-menu {
                display: block;
            }
            
            nav {
                position: absolute;
                top: 0;
                left: 0;
                right: 0;
                background-color: black;
                width: 100%;
                padding: 80px 20px 30px;
                transform: translateY(-100%);
                opacity: 0;
                visibility: hidden;
                transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
            }
            
            nav.active {
                transform: translateY(0);
                opacity: 1;
                visibility: visible;
            }
            
            nav ul {
                flex-direction: column;
                align-items: center;
            }
            
            nav ul li {
                margin: 10px 0;
                width: 100%;
                text-align: center;
            }
            
            nav ul li a {
                display: block;
                padding: 10px;
            }
            
            .header-container {
                flex-direction: row;
                justify-content: space-between;
                align-items: center;
            }
            
            .hero h1 {
                font-size: 28px;
            }
            
            .btn {
                padding: 10px 20px;
            }
        }
