/* ——— RESET ——— */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #000;
  }
  
  /* ——— NAVBAR ——— */
  .navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    z-index: 100;
  }
  .navbar .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.75rem 0;
    display: flex;
    justify-content: auto;
    align-items: center;
  }
  /* logo */
  .navbar .logo {
    color: #000;
    font-size: 1.5rem;
    text-decoration: none;
    transition: color 0.3s;
    margin-left: -4rem;
    display: flex;
    align-items: center;
  }
  .navbar .logo:hover,
  .navbar .logo:focus {
    color: #FEC107;
  }
  .navbar .logo img {
    height: 22px;
    width: auto;
    margin-right: 8px;
    vertical-align: middle;
  }
  
  /* nav-toggle (hamburger) - base (desktop hidden) */
  .nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    margin-left: auto;
    padding: 0.5rem;
  }
  .nav-toggle .hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: #666;
    position: relative;
    transition: transform 0.3s;
  }
  .nav-toggle .hamburger::before,
  .nav-toggle .hamburger::after {
    content: '';
    display: block;
    width: 24px;
    height: 2px;
    background: #666;
    position: absolute;
    left: 0;
    transition: transform 0.3s;
  }
  .nav-toggle .hamburger::before { top: -8px; }
  .nav-toggle .hamburger::after  { top: 8px; }
  .nav-toggle.open .hamburger { background: transparent; }
  .nav-toggle.open .hamburger::before { transform: translateY(8px) rotate(45deg); }
  .nav-toggle.open .hamburger::after  { transform: translateY(-8px) rotate(-45deg); }
  
  /* linkovi */
  .nav-links {
    list-style: none;
    display: flex;
    margin-left: auto;
  }
  .nav-links li + li {
    margin-left: 1.5rem;
  }
  .nav-links a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
  }
  .nav-links a:hover,
  .nav-links a:focus {
    color: #FEC107;
  }
  
  /* ——— GENERIČNE SEKCIJE ——— */
  .section {
    padding: 4rem 0;
  }
  .section .container {
    max-width: 1000px;
    width: 90%;
    margin: 0 auto;
  }
  .section h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: normal;
    margin-bottom: 2rem;
    position: relative;
  }
  .section h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: #FEC107;
    margin: 8px auto 0;
  }
  
  /* ——— HERO SLIDESHOW ——— */
  #hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
  }
  .slides .slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
  }
  .slides .slide.active {
    opacity: 1;
  }
  .hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
  }
  .hero-content h1 {
    font-size: 3rem;
    margin-bottom: .5rem;
  }
  .hero-content p {
    font-size: 1.2rem;
  }
  
  /* ——— PORTFOLIO GRID ——— */
  .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
    gap: 1.5rem;
  }
  .grid .item {
    overflow: hidden;
    border-radius: 8px;
  }
  .grid .item img {
    display: block;
    width: 100%;
    height: 350px;
    object-fit: cover;
  }
  .grid .item:nth-child(n+7) {
    display: none;
  }
  .item--more {
    position: relative;
    cursor: pointer;
  }
  .item--more img {
    filter: blur(4px);
    transition: filter 0.3s;
  }
  .more-overlay {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 1.5rem;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(0,0,0,0.8);
    pointer-events: none;
  }
  
  /* ——— MAP SECTION ——— */
  #map .map-container {
    width: 100%;
    height: 450px;
    margin-bottom: 2rem;
  }
  #map .map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
  }
  
  /* ——— CONTACT SECTION ——— */
  #contact .container.contact-wrapper {
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
  }
  .contact-wrapper {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
  }
  .contact-info {
    flex: 1;
    min-width: 280px;
    transform: translateX(-100px);
  }
  .contact-info h3 {
    font-size: 1.5rem;
    font-weight: normal;
    margin-bottom: .5rem;
    color: #000;
  }
  .contact-info p,
  .contact-info a {
    color: #666;
    margin-bottom: 1rem;
    text-decoration: none;
  }
  .contact-info a:hover {
    text-decoration: underline;
  }
  .contact-form {
    flex: 0 0 80%;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
  }
  .contact-form .contact-title {
    text-align: center;
    font-size: 2rem;
    font-weight: normal;
    margin-bottom: 2rem;
    position: relative;
  }
  .contact-form .contact-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: #FEC107;
    margin: 8px auto 0;
  }
  .form-columns {
    display: flex;
    gap: 2rem;
    align-items: stretch;
  }
  .form-col-left,
  .form-col-right {
    flex: 1.3;
    display: flex;
    flex-direction: column;
  }
  .contact-form input,
  .contact-form textarea {
    width: 100%;
    padding: .75rem;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font: inherit;
    color: #000;
  }
  .contact-form input::placeholder,
  .contact-form textarea::placeholder {
    color: #999;
  }
  .form-col-right textarea {
    flex: 1;
    margin-bottom: 0;
    resize: none;
  }
  .form-col-left button {
    width: 100%;
    margin-top: auto;
    padding: .75rem 1.5rem;
    border: none;
    border-radius: 4px;
    background: #FEC107;
    color: #fff;
    font: inherit;
    cursor: pointer;
    transition: background 0.3s;
  }
  .form-col-left button:hover {
    background: #e0ac0a;
  }
  
  /* ——— LIGHTBOX OVERLAY ——— */
  .lightbox {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: rgba(0,0,0,0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
  }
  .lightbox.show {
    display: flex;
  }
  .lightbox__content {
    max-width: 90%;
    max-height: 90%;
  }
  .lightbox__img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    display: block;
    margin: 0 auto;
  }
  .lightbox__close,
  .lightbox__nav {
    position: absolute;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.2s;
  }
  .lightbox__close {
    top: 1rem; right: 1rem;
  }
  .lightbox__nav:hover,
  .lightbox__close:hover {
    color: #FEC107;
  }
  .lightbox__prev {
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
  }
  .lightbox__next {
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
  }
  
  .site-footer {
    background: #fff;
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
    color: #666;
    text-align: center;
    padding: 1rem 0;
    font-size: 0.9rem;
    margin-top: 2rem;
  }
  
  .hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
  }
  
  .text-slides {
    position: relative;
    display: inline-block;
  }
  .text-slide {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 1s ease-in-out;
    white-space: nowrap;
  }
  .text-slide.active {
    opacity: 1;
  }
  .text-slide h1,
  .text-slide p {
    margin: 0;
    color: #fff;
  }
  .hero-content .text-slide p {
    font-size: 1.8rem;
    line-height: 1.4;
  }
  
  .hidden {
    display: none;
  }
  .form-message {
    margin-top: 1rem;
    font-size: 1rem;
    text-align: center;
  }
  #form-success {
    color: green;
  }
  #form-error {
    color: red;
  }
  
  /* ——— RESPONSIVE (MOBILE OVERRIDES) ——— */
/* ——— RESPONSIVE (MOBILE OVERRIDES) ——— */
@media (max-width: 768px) {
  /* NAVIGATION */
  .navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
  }
  /* Reset negativnog pomaka loga */
  .navbar .logo {
    margin-left: 0;
  }
  /* Prikaz hamburgera */
  .nav-toggle {
    display: block;
  }
  /* Sakrij linkove dok se ne otvori meni */
  .nav-links {
    display: none;
    flex-direction: column;
    background: #fff;
    width: 100%;
    text-align: center;
    margin: 0;
  }
  .nav-links.show {
    display: flex;
  }
  .nav-links li + li {
    margin: 1rem 0 0;
  }

  /* CONTACT SECTION */
  .contact-wrapper,
  .form-columns {
    flex-direction: column;
  }
  .contact-info {
    transform: translateX(0);
    text-align: center;
    margin-bottom: 2rem;
  }
  .contact-wrapper {
    width: 90%;
    margin: 0 auto;
  }
  .contact-form {
    width: 100%;
  }

  /* HERO TEXT SLIDES FONT ADJUST */
  .hero-content .text-slide h1 {
    font-size: 2.5rem;
  }
  .hero-content .text-slide p {
    font-size: 1.2rem;
  }
}
