/*
Theme Name: Metalika
Theme URI: https://www.metalikamachines.com/
Author: SmartWeb
Description: Factory "Metalika" manufactures high-technology machines for concrete production industry and custom made solutions upon customer's request.
Version: 1.0
Requires at least: 5.0
Tested up to: 5.4
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
 */

/*.country-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 40px 20px;
    background-color: #f7f7f7;
}

.country-item {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.country-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.country-image img {
    width: 100%;
    height: auto;
    display: block;
}

.country-data {
    padding: 20px;
}

.country-item-single {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    gap: 10px;
}

.country-item-single i {
    font-size: 18px;
    color: #007BFF;
    min-width: 20px;
}

.country-title {
    font-weight: bold;
    font-size: 18px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.country-title img {
    width: 20px;
    height: auto;
    border-radius: 3px;
    box-shadow: 0 0 3px rgba(0,0,0,0.2);
}

.country-item-single p {
    margin: 0;
    line-height: 1.4;
}

.country-item-single a {
    color: #007BFF;
    text-decoration: none;
}

.country-item-single a:hover {
    text-decoration: underline;
} */

 /*ovde je izmena na dole*/

    .flags-container {
     display: grid;
  grid-template-columns: repeat(11, 1fr);
  gap: 30px;
  justify-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
    }

    .flag-card {
     width: 80px;
  height: 50px;
      perspective: 1000px;
    }

    .flag-inner {
      position: relative;
      width: 100%;
      height: 100%;
      transition: transform 0.6s;
      transform-style: preserve-3d;
    }

    .flag-card:hover .flag-inner {
      transform: rotateY(180deg);
    }

    .flag-front, .flag-back {
      position: absolute;
      width: 100%;
      height: 100%;
      backface-visibility: hidden;
      border-radius: 5px;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    }

    .flag-front img {
      width: 100%;
      height: 100%;
      border-radius: 5px;
      object-fit: cover;
    }

    .flag-back {
      background-color: #ffffff;
      color: #333;
      display: flex;
      align-items: center;
      justify-content: center;
      transform: rotateY(180deg);
      font-size: 14px;
      font-weight: bold;
      text-align: center;
      padding: 5px;
      box-sizing: border-box;
    }

    @media (max-width: 1200px) {
      .flags-container {
        grid-template-columns: repeat(5, 1fr);
      }
    }

    @media (max-width: 900px) {
      .flags-container {
        grid-template-columns: repeat(4, 1fr);
      }
    }

    @media (max-width: 600px) {
      .flags-container {
        grid-template-columns: repeat(3, 1fr);
      }
    }

    @media (max-width: 400px) {
      .flags-container {
        grid-template-columns: repeat(2, 1fr);
      }
    }
