/*
KWT Service — динамический PHP (Open Server)
*/
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: hidden; }
body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background-color: #000; color: #fff; line-height: 1.6; min-height: 100vh; display: flex; flex-direction: column; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.header { background-color: #111; padding: 15px 0; border-bottom: 1px solid #333; position: sticky; top: 0; z-index: 1000; }
.header .container { display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; gap: 15px; }
.logo-icon { font-size: 2.2rem; color: #fff; }
.logo h1 { font-size: 2rem; font-weight: 700; letter-spacing: 2px; }
.logo .logo-link { color: inherit; text-decoration: none; }
.logo .logo-link:hover { color: inherit; }
.logo-subtitle { color: #aaa; font-size: 0.9rem; margin-left: 10px; }
.nav { display: flex; gap: 15px; align-items: center; }
.nav-link { color: #fff; text-decoration: none; display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 5px; transition: background-color 0.3s; background-color: #222; font-size: 0.9rem; }
.nav-link:hover { background-color: #333; }
.nav-link.phone { background-color: #000; border: 1px solid #333; }
.nav-link i { font-size: 1.1rem; }
.categories-nav { background-color: #111; border-bottom: 1px solid #333; padding: 0; }
.categories-list { display: flex; list-style: none; overflow-x: auto; padding: 0; margin: 0; }
.categories-list li { flex-shrink: 0; }
.categories-list a { display: flex; align-items: center; gap: 10px; padding: 15px 20px; color: #ccc; text-decoration: none; transition: all 0.3s; border-bottom: 3px solid transparent; white-space: nowrap; }
.categories-list a:hover { color: #fff; background-color: #222; }
.categories-list a.active { color: #fff; border-bottom-color: #fff; background-color: #222; }
.categories-list a i { font-size: 1.1rem; }
.main-content { padding: 60px 0; flex-grow: 1; }
.welcome-section { text-align: center; margin-bottom: 60px; }
.section-title { font-size: 2.5rem; margin-bottom: 20px; font-weight: 700; }
.section-description { font-size: 1.1rem; color: #ccc; max-width: 800px; margin: 0 auto; }
.services-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 30px; margin-bottom: 60px; }
.services-grid .service-card:nth-child(1) { grid-column: 1 / 3; grid-row: 1; }
.services-grid .service-card:nth-child(2) { grid-column: 3 / 5; grid-row: 1; }
.services-grid .service-card:nth-child(3) { grid-column: 5 / 7; grid-row: 1; }
.services-grid .service-card:nth-child(4) { grid-column: 2 / 4; grid-row: 2; }
.services-grid .service-card:nth-child(5) { grid-column: 4 / 6; grid-row: 2; }
.service-card { background-color: #111; border: 1px solid #222; border-radius: 10px; padding: 30px; text-align: center; transition: transform 0.3s, border-color 0.3s; cursor: pointer; text-decoration: none; color: inherit; display: block; }
.service-card:hover { transform: translateY(-5px); border-color: #444; }
.service-icon { font-size: 2.5rem; color: #fff; margin-bottom: 20px; height: 60px; display: flex; align-items: center; justify-content: center; }
.service-title { font-size: 1.5rem; margin-bottom: 15px; color: #fff; }
.service-desc { color: #aaa; margin-bottom: 25px; min-height: 80px; }
.service-link { display: flex; align-items: center; justify-content: center; gap: 10px; color: #fff; font-weight: 600; padding-top: 15px; border-top: 1px solid #222; }
.service-link i { transition: transform 0.3s; }
.service-card:hover .service-link i { transform: translateX(5px); }
.category-page { padding: 40px 0; flex-grow: 1; }
.page-header { text-align: center; margin-bottom: 40px; }
.page-title { font-size: 2.5rem; margin-bottom: 15px; display: flex; align-items: center; justify-content: center; gap: 15px; }
.page-subtitle { color: #aaa; font-size: 1.1rem; }
.availability-note { background-color: #111; padding: 15px 20px; border-radius: 5px; margin-bottom: 40px; display: flex; align-items: center; gap: 15px; color: #ccc; border-left: 4px solid #333; }
.availability-note i { color: #fff; font-size: 1.2rem; }
.items-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(420px, 1fr)); gap: 36px; margin-bottom: 60px; }
.item-card { background-color: #111; border: 1px solid #222; border-radius: 12px; overflow: hidden; transition: transform 0.3s, border-color 0.3s; animation: fadeIn 0.5s ease-out; }
.item-card:hover { transform: translateY(-5px); border-color: #444; }
.item-header { padding: 24px 28px; border-bottom: 1px solid #222; display: flex; justify-content: space-between; align-items: center; }
.item-title { font-size: 1.4rem; font-weight: 600; }
.item-title a { color: inherit; text-decoration: none; }
.item-title a:hover { color: #0088cc; }
.item-category { background-color: #222; padding: 6px 12px; border-radius: 4px; font-size: 0.85rem; color: #aaa; }
.item-image { aspect-ratio: 1 / 1; width: 100%; display: flex; align-items: center; justify-content: center; background-color: #000; border-bottom: 1px solid #222; overflow: hidden; }
.item-image i { font-size: 5rem; color: #333; }
.item-image img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.item-content { padding: 28px 32px; min-height: 180px; }
.item-description { color: #ccc; margin-bottom: 24px; line-height: 1.7; font-size: 1.05rem; }
.item-details { display: flex; flex-direction: column; gap: 14px; }
.detail { display: flex; align-items: center; gap: 12px; color: #aaa; font-size: 1rem; }
.detail i { width: 20px; color: #fff; }
.available { color: #4CAF50; font-weight: bold; }
.not-available { color: #f44336; font-weight: bold; }
.price-bel { color: #fff; font-weight: 700; }
.price-bel::after { content: " Br"; font-weight: 600; margin-left: 2px; }
.contacts-simple { background-color: #111; border: 1px solid #222; border-radius: 10px; padding: 30px; margin: 40px 0; text-align: center; }
.contacts-simple h3 { font-size: 1.5rem; margin-bottom: 25px; color: #fff; }
.contact-main { display: flex; flex-direction: column; gap: 20px; max-width: 500px; margin: 0 auto; }
.contact-item-large { display: flex; align-items: center; justify-content: center; gap: 15px; padding: 15px; background-color: #000; border-radius: 8px; border: 1px solid #333; }
.contact-item-large i { font-size: 1.3rem; color: #fff; width: 30px; }
.contact-item-large .contact-text { display: flex; flex-direction: column; align-items: flex-start; }
.contact-item-large .contact-title { font-size: 0.9rem; color: #aaa; margin-bottom: 5px; }
.contact-item-large .contact-value { font-size: 1.1rem; color: #fff; font-weight: 600; text-decoration: none; }
.contact-item-large .contact-value:hover { color: #0088cc; }
.contact-links-simple { display: flex; gap: 15px; justify-content: center; margin-top: 15px; flex-wrap: wrap; }
.address-main-link { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; padding: 12px 20px; background-color: #222; border-radius: 6px; transition: all 0.3s; border: 1px solid #333; font-weight: 600; min-width: 200px; justify-content: center; }
.address-main-link:hover { background-color: #333; transform: translateY(-2px); }
.address-main-link i { color: #ff3333; }
.telegram-link { display: flex; align-items: center; gap: 10px; padding: 12px 20px; background-color: #0088cc; color: white; text-decoration: none; border-radius: 6px; font-weight: 600; transition: all 0.3s; min-width: 200px; justify-content: center; }
.telegram-link:hover { background-color: #0077b3; transform: translateY(-2px); }
.telegram-link.worker { background-color: #25a518; }
.telegram-link.worker:hover { background-color: #1e8b14; }
.footer { background-color: #111; padding: 60px 0 30px; border-top: 1px solid #222; margin-top: auto; }
.footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; margin-bottom: 40px; }
.footer-info h3 { font-size: 1.8rem; margin-bottom: 15px; display: flex; align-items: center; gap: 10px; }
.footer-text { color: #aaa; max-width: 300px; line-height: 1.6; }
.footer-links h4, .footer-contacts h4, .footer-social h4 { font-size: 1.3rem; margin-bottom: 20px; color: #fff; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #aaa; text-decoration: none; transition: color 0.3s; }
.footer-links a:hover { color: #fff; }
.contact-item { display: flex; align-items: center; gap: 10px; margin-bottom: 15px; color: #ccc; }
.contact-item a { color: #ccc; text-decoration: none; transition: color 0.3s; }
.contact-item a:hover { color: #fff; }
.footer-social .social-links { display: flex; gap: 15px; }
.footer-social .social-links a { display: inline-flex; align-items: center; justify-content: center; width: 45px; height: 45px; background-color: #222; border-radius: 50%; color: #fff; font-size: 1.2rem; transition: background-color 0.3s; }
.footer-social .social-links a:hover { background-color: #333; }
.footer-bottom { padding-top: 30px; border-top: 1px solid #222; color: #666; display: flex; justify-content: center; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 0.85rem; }
.footer-bottom p { margin: 0; }
.footer-note { margin: 0; }
.footer-panel-link,
.footer-panel-link:visited,
.footer-panel-link:hover,
.footer-panel-link:active { color: #000; }
.admin-access { margin: 40px 0 0; text-align: center; }
.no-items-message { grid-column: 1 / -1; text-align: center; padding: 60px 20px; color: #666; }
.no-items-message i { font-size: 60px; margin-bottom: 20px; display: block; color: #999; }
.single-featured-image { margin-bottom: 30px; border-radius: 10px; overflow: hidden; border: 1px solid #222; }
.single-featured-image img { width: 100%; height: auto; display: block; }
.entry-content { line-height: 1.8; color: #ccc; }
.entry-content p { margin-bottom: 1em; }
.panel-entry-button { display: inline-flex; align-items: center; gap: 10px; margin: 20px 0 30px; padding: 14px 26px; border-radius: 999px; background: #000; color: #fff; text-decoration: none; font-weight: 600; font-size: 1rem; box-shadow: 0 4px 15px rgba(0,0,0,0.5); transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s; }
.panel-entry-button i { font-size: 1.1rem; }
.panel-entry-button:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0,0,0,0.7); opacity: 0.95; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 992px) {
    .section-title, .page-title { font-size: 2rem; }
    .items-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
}
@media (max-width: 768px) {
    .header .container { flex-direction: column; gap: 15px; }
    .categories-list a { padding: 12px 15px; font-size: 0.9rem; }
    .main-content { padding: 40px 0; }
    .section-title { font-size: 1.8rem; }
    .services-grid, .items-grid { grid-template-columns: 1fr; }
    .services-grid .service-card:nth-child(n) { grid-column: 1; grid-row: auto; }
    .footer-content { grid-template-columns: 1fr; gap: 30px; }
    .contact-item-large { flex-direction: column; text-align: center; gap: 10px; }
    .contact-item-large .contact-text { align-items: center; }
    .telegram-link { width: 100%; max-width: 300px; }
    .item-image { aspect-ratio: 16 / 9; }
}
