/*
Theme Name: PopraviSve
Theme URI: https://example.com/popravisve
Author: Radovan / ChatGPT
Author URI: https://example.com
Description: WordPress tema za majstore, vodoinstalatere, električare i kućne popravke, prevedena na srpski jezik.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: popravisve
*/
:root {
      --orange: #ff6b22;
      --orange-dark: #e85a16;
      --navy: #0d273f;
      --navy-soft: #123654;
      --text: #6d7785;
      --light: #f3f6f8;
      --white: #ffffff;
      --border: #e7edf2;
      --shadow: 0 18px 45px rgba(13, 39, 63, 0.12);
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      font-family: "Manrope", Arial, sans-serif;
      background: #dfe6ec;
      color: var(--text);
      line-height: 1.65;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    img {
      max-width: 100%;
      display: block;
    }

    .page-box {
      max-width: 1440px;
      margin: 0 auto;
      background: var(--white);
      overflow: hidden;
      box-shadow: 0 0 60px rgba(13, 39, 63, .16);
    }

    .container {
      width: min(1170px, calc(100% - 32px));
      margin: 0 auto;
    }

    .topbar {
      background: var(--navy);
      color: #d8e4ee;
      font-size: 14px;
    }

    .topbar-inner {
      min-height: 48px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
      flex-wrap: wrap;
    }

    .topbar-info,
    .topbar-social {
      display: flex;
      align-items: center;
      gap: 22px;
      flex-wrap: wrap;
    }

    .topbar b {
      color: var(--orange);
      margin-right: 6px;
    }

    .topbar-social a {
      width: 30px;
      height: 30px;
      display: grid;
      place-items: center;
      border-radius: 50%;
      background: rgba(255, 255, 255, .08);
      font-size: 12px;
      font-weight: 800;
    }

    .header {
      background: var(--white);
      border-bottom: 1px solid var(--border);
      position: sticky;
      top: 0;
      z-index: 10;
    }

    .nav {
      min-height: 88px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
    }

    .logo {
      display: flex;
      align-items: center;
      gap: 12px;
      color: var(--navy);
      font-size: 28px;
      font-weight: 900;
      letter-spacing: -.04em;
    }

    .logo-mark {
      width: 52px;
      height: 52px;
      display: grid;
      place-items: center;
      background: var(--orange);
      color: var(--white);
      border-radius: 18px 18px 4px 18px;
      font-size: 27px;
    }

    .menu {
      display: flex;
      align-items: center;
      gap: 28px;
      font-size: 14px;
      font-weight: 800;
      text-transform: uppercase;
      color: var(--navy);
    }

    .menu a:hover {
      color: var(--orange);
    }

    .help-box {
      display: flex;
      align-items: center;
      gap: 12px;
      color: var(--navy);
      font-weight: 800;
    }

    .help-icon {
      width: 46px;
      height: 46px;
      border-radius: 50%;
      display: grid;
      place-items: center;
      background: var(--light);
      color: var(--orange);
      font-size: 22px;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border: 0;
      background: var(--orange);
      color: var(--white);
      padding: 15px 26px;
      border-radius: 999px;
      font-weight: 900;
      text-transform: uppercase;
      letter-spacing: .04em;
      font-size: 13px;
      cursor: pointer;
      transition: .2s ease;
    }

    .btn:hover {
      background: var(--orange-dark);
      transform: translateY(-2px);
    }

    .btn-navy {
      background: var(--navy);
    }

    .btn-navy:hover {
      background: #061827;
    }

    .hero {
      position: relative;
      min-height: 710px;
      display: grid;
      align-items: center;
      background:
        linear-gradient(90deg, rgba(13,39,63,.94) 0%, rgba(13,39,63,.78) 48%, rgba(13,39,63,.12) 100%),
        url("https://images.unsplash.com/photo-1504917595217-d4dc5ebe6122?auto=format&fit=crop&w=1800&q=80") center/cover no-repeat;
      color: var(--white);
    }

    .hero::after {
      content: "";
      position: absolute;
      right: -90px;
      bottom: -90px;
      width: 280px;
      height: 280px;
      border-radius: 50%;
      background: var(--orange);
      opacity: .95;
    }

    .hero-content {
      max-width: 670px;
      position: relative;
      z-index: 1;
      padding: 100px 0;
    }

    .subtitle {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      color: var(--orange);
      font-weight: 900;
      text-transform: uppercase;
      letter-spacing: .14em;
      font-size: 13px;
      margin-bottom: 18px;
    }

    .subtitle::before {
      content: "";
      width: 42px;
      height: 3px;
      background: var(--orange);
      border-radius: 999px;
    }

    h1, h2, h3, h4 {
      color: var(--navy);
      line-height: 1.12;
    }

    .hero h1 {
      color: var(--white);
      font-size: clamp(44px, 7vw, 82px);
      font-weight: 900;
      letter-spacing: -.05em;
      margin-bottom: 22px;
    }

    .hero p {
      font-size: 18px;
      color: #dbe7f1;
      max-width: 560px;
      margin-bottom: 34px;
    }

    .section {
      padding: 100px 0;
    }

    .section-light {
      background: var(--light);
    }

    .section-heading {
      text-align: center;
      margin-bottom: 55px;
    }

    .section-heading h2 {
      font-size: clamp(32px, 4vw, 52px);
      font-weight: 900;
      letter-spacing: -.04em;
      margin-top: 8px;
    }

    .about-grid {
      display: grid;
      grid-template-columns: .95fr 1.05fr;
      gap: 64px;
      align-items: center;
    }

    .about-images {
      position: relative;
      min-height: 520px;
    }

    .about-main {
      width: 82%;
      height: 460px;
      object-fit: cover;
      border-radius: 34px;
      box-shadow: var(--shadow);
    }

    .about-small {
      position: absolute;
      right: 0;
      bottom: 0;
      width: 52%;
      height: 260px;
      object-fit: cover;
      border-radius: 28px;
      border: 12px solid var(--white);
      box-shadow: var(--shadow);
    }

    .experience {
      position: absolute;
      left: 28px;
      bottom: 38px;
      width: 145px;
      height: 145px;
      border-radius: 50%;
      background: var(--orange);
      color: var(--white);
      display: grid;
      place-items: center;
      text-align: center;
      font-weight: 900;
      box-shadow: var(--shadow);
    }

    .experience span {
      display: block;
      font-size: 40px;
      line-height: 1;
    }

    .about-content h2 {
      font-size: clamp(32px, 4vw, 50px);
      font-weight: 900;
      letter-spacing: -.04em;
      margin-bottom: 20px;
    }

    .about-content p {
      margin-bottom: 24px;
    }

    .about-list {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 14px 24px;
      margin: 30px 0;
    }

    .about-list li {
      list-style: none;
      color: var(--navy);
      font-weight: 800;
      display: flex;
      gap: 10px;
      align-items: center;
    }

    .about-list li::before {
      content: "✓";
      width: 24px;
      height: 24px;
      display: grid;
      place-items: center;
      border-radius: 50%;
      background: var(--orange);
      color: var(--white);
      font-size: 13px;
    }

    .service-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
    }

    .service-card {
      background: var(--white);
      border-radius: 26px;
      overflow: hidden;
      box-shadow: 0 10px 25px rgba(13,39,63,.08);
      transition: .2s ease;
    }

    .service-card:hover {
      transform: translateY(-7px);
      box-shadow: var(--shadow);
    }

    .service-card img {
      width: 100%;
      height: 190px;
      object-fit: cover;
    }

    .service-body {
      padding: 28px;
    }

    .service-icon {
      width: 62px;
      height: 62px;
      margin-top: -62px;
      margin-bottom: 18px;
      position: relative;
      display: grid;
      place-items: center;
      border-radius: 18px;
      background: var(--orange);
      color: var(--white);
      font-size: 29px;
      box-shadow: 0 12px 24px rgba(255,107,34,.28);
    }

    .service-body h3 {
      font-size: 22px;
      font-weight: 900;
      margin-bottom: 10px;
    }

    .cta-strip {
      background: var(--orange);
      color: var(--white);
      padding: 44px 0;
    }

    .cta-inner {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 28px;
      flex-wrap: wrap;
    }

    .cta-inner h2 {
      color: var(--white);
      font-size: clamp(28px, 4vw, 44px);
      max-width: 720px;
      font-weight: 900;
      letter-spacing: -.04em;
    }

    .portfolio-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 26px;
    }

    .portfolio-card {
      background: var(--white);
      border-radius: 28px;
      overflow: hidden;
      box-shadow: 0 12px 32px rgba(13,39,63,.08);
    }

    .portfolio-card img {
      width: 100%;
      height: 270px;
      object-fit: cover;
    }

    .portfolio-body {
      padding: 28px;
    }

    .portfolio-body small {
      color: var(--orange);
      text-transform: uppercase;
      font-weight: 900;
      letter-spacing: .1em;
    }

    .portfolio-body h3 {
      font-size: 24px;
      margin: 8px 0 10px;
    }

    .testimonial-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 26px;
    }

    .testimonial-card {
      background: var(--white);
      border-radius: 28px;
      padding: 32px;
      box-shadow: 0 12px 32px rgba(13,39,63,.08);
    }

    .stars {
      color: var(--orange);
      letter-spacing: 3px;
      margin-bottom: 16px;
      font-size: 18px;
    }

    .client {
      margin-top: 24px;
      display: flex;
      align-items: center;
      gap: 14px;
    }

    .client img {
      width: 58px;
      height: 58px;
      border-radius: 50%;
      object-fit: cover;
    }

    .client strong {
      display: block;
      color: var(--navy);
      font-weight: 900;
    }

    .faq-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 56px;
      align-items: start;
    }

    .faq-left h2 {
      font-size: clamp(32px, 4vw, 50px);
      font-weight: 900;
      letter-spacing: -.04em;
      margin-bottom: 18px;
    }

    .faq-item {
      background: var(--white);
      border: 1px solid var(--border);
      border-radius: 20px;
      padding: 22px 24px;
      margin-bottom: 16px;
      box-shadow: 0 10px 24px rgba(13,39,63,.06);
    }

    .faq-item h3 {
      font-size: 18px;
      margin-bottom: 8px;
      font-weight: 900;
    }

    .team-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 26px;
    }

    .team-card {
      text-align: center;
      background: var(--white);
      border-radius: 28px;
      padding: 20px 20px 28px;
      box-shadow: 0 12px 32px rgba(13,39,63,.08);
    }

    .team-card img {
      width: 100%;
      height: 310px;
      object-fit: cover;
      border-radius: 22px;
      margin-bottom: 20px;
    }

    .team-card h3 {
      font-size: 22px;
      font-weight: 900;
    }

    .stats {
      background: var(--navy);
      color: var(--white);
      padding: 70px 0;
    }

    .stats-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
      text-align: center;
    }

    .stat h3 {
      color: var(--white);
      font-size: clamp(38px, 5vw, 58px);
      font-weight: 900;
      margin-bottom: 8px;
    }

    .stat p {
      color: #b8c8d7;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: .06em;
      font-size: 13px;
    }

    .blog-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 30px;
    }

    .blog-card {
      display: grid;
      grid-template-columns: 230px 1fr;
      background: var(--white);
      border-radius: 28px;
      overflow: hidden;
      box-shadow: 0 12px 32px rgba(13,39,63,.08);
    }

    .blog-card img {
      width: 100%;
      height: 100%;
      min-height: 240px;
      object-fit: cover;
    }

    .blog-body {
      padding: 30px;
    }

    .meta {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
      color: var(--orange);
      font-size: 13px;
      font-weight: 900;
      text-transform: uppercase;
      margin-bottom: 10px;
    }

    .blog-body h3 {
      font-size: 24px;
      font-weight: 900;
      margin-bottom: 12px;
    }

    .query-box {
      background: var(--orange);
      color: var(--white);
      border-radius: 34px;
      padding: 54px;
      display: grid;
      grid-template-columns: 1fr auto;
      gap: 28px;
      align-items: center;
      margin-bottom: -90px;
      position: relative;
      z-index: 2;
      box-shadow: var(--shadow);
    }

    .query-box h2 {
      color: var(--white);
      font-size: clamp(28px, 4vw, 44px);
      font-weight: 900;
      letter-spacing: -.04em;
      margin-bottom: 6px;
    }

    .contact-pills {
      display: flex;
      gap: 14px;
      flex-wrap: wrap;
    }

    .contact-pill {
      background: rgba(255,255,255,.18);
      color: var(--white);
      padding: 14px 18px;
      border-radius: 999px;
      font-weight: 900;
    }

    .footer {
      background: #071b2d;
      color: #b8c8d7;
      padding: 150px 0 28px;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
      gap: 36px;
      margin-bottom: 48px;
    }

    .footer h3,
    .footer h4 {
      color: var(--white);
      margin-bottom: 18px;
      font-weight: 900;
    }

    .footer ul {
      list-style: none;
      display: grid;
      gap: 10px;
    }

    .footer a:hover {
      color: var(--orange);
    }

    .newsletter {
      display: flex;
      background: rgba(255,255,255,.08);
      border-radius: 999px;
      padding: 6px;
      margin-top: 18px;
    }

    .newsletter input {
      flex: 1;
      min-width: 0;
      background: transparent;
      border: 0;
      color: var(--white);
      outline: none;
      padding: 0 14px;
      font: inherit;
    }

    .newsletter button {
      border: 0;
      background: var(--orange);
      color: var(--white);
      border-radius: 999px;
      padding: 12px 16px;
      font-weight: 900;
      cursor: pointer;
    }

    .copyright {
      border-top: 1px solid rgba(255,255,255,.12);
      padding-top: 22px;
      display: flex;
      justify-content: space-between;
      gap: 18px;
      flex-wrap: wrap;
      font-size: 14px;
    }

    @media (max-width: 1100px) {
      .menu,
      .help-box {
        display: none;
      }

      .service-grid,
      .stats-grid {
        grid-template-columns: repeat(2, 1fr);
      }

      .about-grid,
      .faq-grid,
      .query-box,
      .footer-grid {
        grid-template-columns: 1fr;
      }
    }

    @media (max-width: 760px) {
      .topbar-inner,
      .topbar-info,
      .topbar-social {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
        padding: 10px 0;
      }

      .hero {
        min-height: 600px;
      }

      .section {
        padding: 70px 0;
      }

      .service-grid,
      .portfolio-grid,
      .testimonial-grid,
      .team-grid,
      .stats-grid,
      .blog-grid {
        grid-template-columns: 1fr;
      }

      .blog-card {
        grid-template-columns: 1fr;
      }

      .about-images {
        min-height: auto;
      }

      .about-main,
      .about-small {
        position: static;
        width: 100%;
        height: auto;
        border: 0;
        margin-bottom: 18px;
      }

      .experience {
        left: 18px;
        bottom: 18px;
      }

      .about-list {
        grid-template-columns: 1fr;
      }

      .query-box {
        padding: 34px;
      }
    }

/* WordPress menu output fix */
.menu ul { list-style: none; display: flex; align-items: center; gap: 28px; }
.menu li { list-style: none; }
@media (max-width: 1100px) { .menu ul { display: none; } }
