/*
Theme Name: Pokrivche Build Pro
Theme URI: https://pokrivche.bg
Author: Pokrivche Build Pro
Author URI: https://pokrivche.bg
Description: Професионална тема за покривни услуги - ремонт на покриви, хидроизолация, дървени конструкции. Изцяло на български език.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pokrivche
Tags: roofing, construction, business, bulgarian, responsive
*/

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #1a1a2e;
  line-height: 1.6;
  background: #fff;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ===== HEADER ===== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(26, 26, 46, 0.95);
  backdrop-filter: blur(10px);
  padding: 12px 0;
  transition: background 0.3s;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1200px; margin: 0 auto; padding: 0 20px;
}
.site-logo {
  font-size: 1.5rem; font-weight: 800; color: #fff;
  letter-spacing: -0.5px;
}
.site-logo span { color: #e67e22; }
.header-contacts {
  display: flex; align-items: center; gap: 20px;
  font-size: 0.85rem; color: #ccc;
}
.header-contacts a { color: #ccc; transition: color 0.3s; }
.header-contacts a:hover { color: #e67e22; }
.header-contacts .icon { margin-right: 5px; }
.btn-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: #e67e22; color: #fff; padding: 10px 24px;
  border-radius: 6px; font-weight: 600; font-size: 0.9rem;
  border: none; cursor: pointer; transition: all 0.3s;
}
.btn-cta:hover { background: #d35400; transform: translateY(-1px); }
.btn-whatsapp {
  background: #25d366; color: #fff; padding: 10px 20px;
  border-radius: 6px; font-weight: 600; font-size: 0.9rem;
  display: inline-flex; align-items: center; gap: 6px;
}
.btn-whatsapp:hover { background: #1ebe57; }
.mobile-toggle {
  display: none; background: none; border: none; cursor: pointer;
  font-size: 1.5rem; color: #fff;
}

/* ===== HERO SLIDER ===== */
.hero-section {
  position: relative; height: 100vh; min-height: 600px;
  overflow: hidden; display: flex; align-items: center;
}
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity 1s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide img {
  width: 100%; height: 100%; object-fit: cover;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(26,26,46,0.85) 0%, rgba(26,26,46,0.4) 100%);
}
.hero-content {
  position: relative; z-index: 2; max-width: 700px;
  padding: 0 20px; margin-left: 10%;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(230,126,34,0.2); border: 1px solid rgba(230,126,34,0.4);
  color: #e67e22; padding: 8px 16px; border-radius: 50px;
  font-size: 0.85rem; font-weight: 600; margin-bottom: 20px;
}
.hero-content h1 {
  font-size: 3.5rem; font-weight: 800; color: #fff;
  line-height: 1.1; margin-bottom: 16px;
}
.hero-content p {
  font-size: 1.2rem; color: rgba(255,255,255,0.8);
  margin-bottom: 30px;
}
.hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-dots {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 10px; z-index: 10;
}
.hero-dot {
  width: 40px; height: 4px; border-radius: 2px;
  background: rgba(255,255,255,0.3); cursor: pointer;
  border: none; transition: all 0.3s;
}
.hero-dot.active { background: #e67e22; width: 50px; }

/* ===== INFO STRIP ===== */
.info-strip {
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: #1a1a2e; color: #fff;
}
.info-strip-item {
  display: flex; align-items: center; gap: 12px;
  padding: 20px 30px; border-right: 1px solid rgba(255,255,255,0.1);
}
.info-strip-item:last-child { border-right: none; }
.info-strip-icon {
  width: 40px; height: 40px; background: rgba(230,126,34,0.2);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: #e67e22; font-size: 1.2rem;
}
.info-strip-item h4 { font-size: 0.95rem; font-weight: 700; }
.info-strip-item p { font-size: 0.8rem; color: #aaa; }

/* ===== SECTIONS COMMON ===== */
section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 {
  font-size: 2.2rem; font-weight: 800; color: #1a1a2e; margin-bottom: 12px;
}
.section-header p { font-size: 1.05rem; color: #666; max-width: 600px; margin: 0 auto; }

/* ===== SERVICES ===== */
.services-section { background: #f8f9fa; }
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.service-card {
  background: #fff; border-radius: 12px; overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: all 0.3s; position: relative;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 12px 30px rgba(0,0,0,0.12); }
.service-card img { width: 100%; height: 200px; object-fit: cover; }
.service-card-body { padding: 24px; }
.service-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; color: #1a1a2e; }
.service-card p { font-size: 0.9rem; color: #666; margin-bottom: 16px; }
.service-card .learn-more {
  color: #e67e22; font-weight: 600; font-size: 0.9rem;
  display: inline-flex; align-items: center; gap: 4px;
}
.service-card .badge-24 {
  position: absolute; top: 12px; right: 12px;
  background: #e67e22; color: #fff; padding: 4px 12px;
  border-radius: 20px; font-weight: 700; font-size: 0.85rem;
}
.services-cta {
  display: flex; justify-content: center; gap: 16px;
  margin-top: 40px; flex-wrap: wrap;
}

/* ===== WHY US ===== */
.why-us-section { background: #1a1a2e; color: #fff; }
.why-us-section .section-header h2 { color: #fff; }
.why-us-section .section-header p { color: #aaa; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  margin-bottom: 60px;
}
.stat-card {
  text-align: center; background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1); border-radius: 12px;
  padding: 30px 20px;
}
.stat-number {
  font-size: 3rem; font-weight: 800; color: #e67e22;
  display: block;
}
.stat-label { font-size: 0.9rem; color: #aaa; margin-top: 8px; }

/* ===== PROCESS ===== */
.process-section { background: rgba(230,126,34,0.05); }
.process-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px;
}
.process-step {
  text-align: center; position: relative; padding: 20px;
}
.process-number {
  width: 60px; height: 60px; background: #e67e22; color: #fff;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; font-weight: 800; margin: 0 auto 20px;
}
.process-step h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.process-step p { font-size: 0.9rem; color: #666; }

/* ===== PROJECTS GALLERY ===== */
.projects-section { background: #fff; }
.project-showcase {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
  align-items: center;
}
.project-image { position: relative; border-radius: 12px; overflow: hidden; }
.project-image img { width: 100%; height: 400px; object-fit: cover; }
.project-image .badge {
  position: absolute; bottom: 16px; left: 16px;
  background: rgba(0,0,0,0.7); color: #fff;
  padding: 6px 14px; border-radius: 20px; font-size: 0.85rem;
}
.project-tabs {
  display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap;
}
.project-tab {
  padding: 8px 18px; border-radius: 20px; border: 1px solid #ddd;
  background: #fff; cursor: pointer; font-size: 0.85rem;
  transition: all 0.3s;
}
.project-tab.active, .project-tab:hover {
  background: #e67e22; color: #fff; border-color: #e67e22;
}
.project-info h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 12px; }
.project-info p { color: #666; font-size: 0.95rem; }

/* ===== VIDEOS ===== */
.videos-section { background: #f8f9fa; }
.videos-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); gap: 24px;
}
.video-card {
  background: #fff; border-radius: 12px; overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.video-card .video-wrapper {
  position: relative; padding-top: 56.25%; background: #000;
}
.video-card iframe {
  position: absolute; inset: 0; width: 100%; height: 100%;
}
.video-card-body { padding: 20px; }
.video-card .video-tag {
  display: inline-block; background: rgba(230,126,34,0.1);
  color: #e67e22; padding: 4px 12px; border-radius: 20px;
  font-size: 0.8rem; font-weight: 600; margin-bottom: 8px;
}
.video-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.video-card p { font-size: 0.85rem; color: #666; }
.video-card .location { font-size: 0.8rem; color: #999; margin-top: 8px; }

/* ===== TESTIMONIALS ===== */
.testimonials-section { background: #fff; }
.testimonials-placeholder {
  text-align: center; padding: 40px;
  background: #f8f9fa; border-radius: 12px;
  border: 2px dashed #ddd;
}
.testimonials-placeholder p { color: #666; margin-bottom: 16px; }

/* ===== PARTNERS ===== */
.partners-section { background: #f8f9fa; padding: 60px 0; }
.partners-grid {
  display: flex; align-items: center; justify-content: center;
  gap: 40px; flex-wrap: wrap;
}
.partner-logo {
  width: 120px; height: 80px; object-fit: contain;
  filter: grayscale(100%); opacity: 0.6; transition: all 0.3s;
}
.partner-logo:hover { filter: grayscale(0); opacity: 1; }

/* ===== FAQ ===== */
.faq-section { background: #fff; }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border: 1px solid #e5e7eb; border-radius: 8px;
  margin-bottom: 12px; overflow: hidden;
}
.faq-question {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 18px 24px; background: #fff; border: none;
  font-size: 1rem; font-weight: 600; color: #1a1a2e;
  cursor: pointer; text-align: left; transition: background 0.3s;
}
.faq-question:hover { background: #f8f9fa; }
.faq-question .arrow {
  font-size: 1.2rem; transition: transform 0.3s; color: #e67e22;
}
.faq-item.open .faq-question .arrow { transform: rotate(180deg); }
.faq-answer {
  max-height: 0; overflow: hidden; transition: max-height 0.4s ease;
}
.faq-answer-inner {
  padding: 0 24px 18px; font-size: 0.95rem; color: #666; line-height: 1.7;
}
.faq-cta {
  text-align: center; margin-top: 40px;
  padding: 30px; background: #f8f9fa; border-radius: 12px;
}

/* ===== CONTACT FORM ===== */
.contact-section {
  background: linear-gradient(135deg, #1a1a2e 0%, #2d2d4e 100%);
  color: #fff;
}
.contact-section .section-header h2 { color: #fff; }
.contact-section .section-header p { color: #aaa; }
.contact-form {
  max-width: 700px; margin: 0 auto;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px; padding: 40px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label {
  display: block; font-size: 0.85rem; font-weight: 600;
  margin-bottom: 6px; color: #ccc;
}
.form-group label .required { color: #e67e22; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 12px 16px; border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.08);
  color: #fff; font-size: 0.95rem; transition: border 0.3s;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.4); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none; border-color: #e67e22;
}
.form-group select option { color: #1a1a2e; background: #fff; }
.form-group textarea { min-height: 120px; resize: vertical; }
.file-upload {
  border: 2px dashed rgba(255,255,255,0.2);
  border-radius: 8px; padding: 24px; text-align: center;
  cursor: pointer; transition: border 0.3s;
}
.file-upload:hover { border-color: #e67e22; }
.file-upload p { font-size: 0.85rem; color: #aaa; }
.btn-submit {
  width: 100%; padding: 14px; background: #e67e22;
  color: #fff; border: none; border-radius: 8px;
  font-size: 1rem; font-weight: 700; cursor: pointer;
  text-transform: uppercase; letter-spacing: 1px;
  transition: all 0.3s; margin-top: 10px;
}
.btn-submit:hover { background: #d35400; }
.form-footer {
  text-align: center; margin-top: 16px; font-size: 0.8rem; color: #888;
}
.form-footer a { color: #e67e22; }
.form-message {
  padding: 12px 16px; border-radius: 8px; margin-bottom: 16px;
  font-size: 0.9rem; display: none;
}
.form-message.success { background: rgba(46,204,113,0.2); color: #2ecc71; display: block; }
.form-message.error { background: rgba(231,76,60,0.2); color: #e74c3c; display: block; }

/* ===== FOOTER ===== */
.site-footer {
  background: #0d0d1a; color: #aaa; padding: 60px 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
  margin-bottom: 40px;
}
.footer-brand p { font-size: 0.9rem; line-height: 1.7; margin-top: 12px; }
.footer-col h4 { color: #fff; font-size: 1rem; font-weight: 700; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: #aaa; font-size: 0.9rem; transition: color 0.3s; }
.footer-col ul li a:hover { color: #e67e22; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0; display: flex;
  justify-content: space-between; align-items: center;
  font-size: 0.8rem;
}
.footer-cta {
  display: flex; gap: 12px; margin-top: 20px;
}

/* ===== GENERIC PAGES ===== */
.page-content { padding: 120px 0 60px; min-height: 60vh; }
.page-content h1 { font-size: 2rem; font-weight: 800; margin-bottom: 20px; }
.page-content p { margin-bottom: 16px; color: #444; }
.error-404 {
  text-align: center; padding: 160px 20px 80px; min-height: 60vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.error-404 h1 { font-size: 8rem; font-weight: 900; color: #e67e22; }
.error-404 h2 { font-size: 2rem; margin-bottom: 16px; }
.error-404 p { color: #666; margin-bottom: 30px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .header-contacts { display: none; }
  .mobile-toggle { display: block; }
  .hero-content h1 { font-size: 2.5rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .project-showcase { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .info-strip { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .hero-content h1 { font-size: 2rem; }
  .hero-content { margin-left: 5%; }
  .section-header h2 { font-size: 1.7rem; }
  .services-grid { grid-template-columns: 1fr; }
  .videos-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
}
@media (max-width: 480px) {
  .hero-content h1 { font-size: 1.7rem; }
  .hero-buttons { flex-direction: column; }
  .contact-form { padding: 24px; }
}
