/* Globalni stilovi */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #000000;
    color: #333;
    line-height: 1.6;
}

header {
    background-color: #000000;
    color: white;
    padding: 1rem;
    text-align: center;
}

header nav ul {
    list-style: none;
    padding: 0;
}

header nav ul li {
    display: inline;
    margin: 0 10px;
}

header nav ul li a {
    color: white;
    text-decoration: none;
}

/* Sticky navigacija */
.sticky-header {
    position: sticky;
    top: 0;
    z-index: 1000; 
    background-color: #000000; 
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); 
    padding: 1rem 2rem; 
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 2rem; 
    margin: 0;
    padding: 0;
    justify-content: center; 
}

.nav-list li a {
    text-decoration: none;
    color: #ffffff;
    font-size: 1rem;
    font-weight: bold;
    transition: color 0.3s ease;
}

.nav-list li a:hover {
    color: #FFD700;
}

main {
    padding: 1rem;
    text-align: center;
}

footer {
  background-color: #000;
  color: white;
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.9rem;
  margin-top: 2rem;
}


/* Sekcije */
section {
    padding: 2rem;
    margin: 2rem 0;
    background-color: #f9f9f9;
    border-radius: 8px;
}

section h2 {
    text-align: center;
    color: #333;
}

/* Hero sekcija */
#hero {
    position: relative;
    height: 100vh;
    background: url('images/hero.jpg') no-repeat center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    padding: 2rem;
}

/* Zatamnjeni overlay efekat */
#hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Crna providnost */
    z-index: 1;
}

/* Da tekst ostane iznad zatamnjenja */
#hero .hero-content {
    position: relative;
    z-index: 2;
}


#hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

#hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

#hero .cta-button {
    background-color: #FFD700;
    color: #000;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1.2rem;
    transition: background-color 0.3s ease;
}

#hero .cta-button:hover {
    background-color: #FFC107;
}

/* Sekcija O nama */
#about {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100vh; /* Puna visina ekrana */
    background: url('images/office-bg.jpg') no-repeat center/cover;
    position: relative;
    padding: 0; /* Uklanja padding kako bi slika bila full-screen */
}

.about-container {
    display: flex;
    width: 100%;
    height: 100%;
    position: relative;
}

.about-image {
    flex: 1; /* Zauzima levu stranu */
    background: url('images/office-bg.jpg') no-repeat center/cover;
    height: 100%;
}

.about-content-wrapper {
    flex: 1; /* Zauzima desnu stranu */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4rem;
    background: rgba(0, 0, 0, 0.7); /* Tamna pozadina iza teksta */
}

.about-content {
    max-width: 500px;
    color: white;
    text-align: left; /* Tekst poravnan levo */
}

.about-content h2 {
    color: #FFD700; /* Zlatna boja naslova */
    font-size: 2rem;
    text-align: left;
}

.about-content p {
    font-size: 1.2rem;
    line-height: 1.8;
}


.highlight {
    color: #FFD700;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Sekcija Projekti */
#projects {
    padding: 4rem 2rem;
    background-color: #000000;
    text-align: center;
    color: #FFD700;
}

#projects h2 {
    font-size: 2.5rem;
    color: #FFD700;
    margin-bottom: 2rem;
}

/* Stilovi za sakrivenu galeriju - Kuhinje po meri */
.hidden {
    opacity: 0;
    height: 0;
    overflow: hidden;
    visibility: hidden;
    
}


#kitchen-gallery {
    text-align: center;
    padding: 2rem;
    background-color: #000;
    color: white;
}

#kitchen-gallery .gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Da slike lepo stoje u okviru */
    border-radius: 8px;
    transition: transform 0.3s ease;
}

#kitchen-gallery .gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

#kitchen-gallery .gallery a {
    display: block;
    width: 200px;
    height: 150px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out;
}

#kitchen-gallery .gallery a:hover {
    transform: scale(1.05);
}

#kitchen-gallery .gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

#kitchen-gallery .gallery img:hover {
    transform: scale(1.1);
}

#back-button {
    display: block;
    margin: 20px auto;
    padding: 10px 20px;
    font-size: 1rem;
    background-color: #FFD700;
    color: #000;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#back-button:hover {
    background-color: #FFC107;
}


.project {
    position: relative;
    width: 300px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px #FFD700;
}

.project img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.project:hover img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project:hover .project-overlay {
    opacity: 1;
}

.project-overlay p {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0;
}

/* Sekcija Kontakt */
#contact {
    padding: 4rem 2rem;
    background-color: #000000;
    text-align: center;
}

#contact h2 {
    font-size: 2.5rem;
    color: #FFD700;
    margin-bottom: 2rem;
}

#contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    color: #ffffff;
}

#contact-form input,
#contact-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #FFD700;
    border-radius: 5px;
    font-size: 1rem;
    color: #ffffff;
    background-color: #000000;
}

#contact-form button {
    background-color: #FFD700;
    color: #000;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#contact-form button:hover {
    background-color: #FFC107;
}

/* Sekcija Usluge */
#services {
    padding: 4rem 2rem;
    background-color: #000000;
    text-align: center;
    color: #333;
}

#services h2 {
    font-size: 2.5rem;
    color: #FFD700;
    margin-bottom: 1rem;
}

#services p {
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 2rem;
}

.services-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.service {
    background-color: #000000;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 300px;
    text-align: center;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.service:hover .service-icon {
    transform: scale(1.1);
}

.service h3 {
    font-size: 1.5rem;
    color: #FFD700;
    margin-bottom: 0.5rem;
}

.service p {
    font-size: 1rem;
    color: #ffffff;
}

/* Sekcija Proizvodnja nameštaja */
#furniture-production {
    padding: 4rem 2rem;
    background-color: #ffffff;
    text-align: center;
    color: #333;
}

#furniture-production h2 {
    font-size: 2.5rem;
    color: #FFD700;
    margin-bottom: 1rem;
}

#furniture-production p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #ffffff;
}

.production-details {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.detail {
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    width: 300px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.detail:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.detail-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.detail h3 {
    font-size: 1.5rem;
    color: #FFD700;
    margin-bottom: 0.5rem;
}

.detail p {
    font-size: 1rem;
    color: #ffffff;
}

.process-section {
    margin-top: 4rem;
    text-align: left;
}

.process-section h3 {
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 1rem;
    text-align: center;
}

.production-steps {
    list-style-type: decimal;
    padding: 0;
    margin: 0 auto;
    max-width: 600px;
    line-height: 1.8;
    color: #ffffff;
}

.production-steps li {
    margin-bottom: 1rem;
}
/* Sakriva dodatne slike - prikazuju se samo u Lightbox-u */
.hidden {
    opacity: 0;
    height: 0;
    overflow: hidden;
    visibility: hidden;
}

    
.hidden-img {
    display: none;
}

/* Stil glavne slike */
.gallery-main {
    display: block;
    margin: 0 auto;
    width: 350px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(255, 215, 0, 0.5);
    transition: transform 0.3s ease-in-out;
    cursor: pointer;
}

.gallery-main:hover {
    transform: scale(1.05);
}
.nav-list li a {
    pointer-events: auto;
}
#living-room {
    background-color: #000000;
    color: white;
    padding: 3rem;
    border-radius: 8px;
    text-align: center;
}

#bedroom {
    background-color: #000000;
    color: white;
    padding: 3rem;
    border-radius: 8px;
    text-align: center;
}

#bathroom {
    background-color: #000000;
    color: white;
    padding: 3rem;
    border-radius: 8px;
    text-align: center;
}
#kitchen-gallery h2,
#living-room h2,
#bedroom h2,
#bathroom h2 {
    color: #FFD700; /* Zlatna boja */
    font-size: 2rem; /* Veličina teksta */
    text-align: center;
    font-weight: bold;
}
/* Responsive stilovi */

/* TABLETI: Ekrani do 1024px */
@media (max-width: 1024px) {
  .about-container {
    flex-direction: column;
  }

  .about-content-wrapper {
    padding: 2rem;
  }

  .nav-list {
    flex-direction: column;
    gap: 1rem;
  }

  .services-container,
  .production-details,
  #kitchen-gallery .gallery {
    flex-direction: column;
    align-items: center;
  }

  .project {
    width: 90%;
  }

  .service,
  .detail {
    width: 90%;
  }
}

/* MOBILNI: Ekrani do 768px */
@media (max-width: 768px) {
  header nav ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  header nav ul li {
    display: block;
    text-align: center;
  }

  #hero h1 {
    font-size: 2rem;
  }

  #hero p {
    font-size: 1.2rem;
  }

  #hero .cta-button {
    font-size: 1rem;
    padding: 0.5rem 1rem;
  }

  .about-content-wrapper {
    padding: 1.5rem;
  }

  .about-content h2 {
    font-size: 1.5rem;
  }

  .about-content p {
    font-size: 1rem;
  }

  .nav-list {
    flex-direction: column;
    gap: 0.5rem;
  }

  #contact-form input,
  #contact-form textarea {
    font-size: 0.9rem;
  }

  #contact-form button {
    font-size: 1rem;
    padding: 0.5rem 1rem;
  }

  .gallery-main {
    width: 90%;
  }
}

/* MANJI MOBILNI: Ekrani do 480px */
@media (max-width: 480px) {
  #hero {
    padding: 1rem;
  }

  #hero h1 {
    font-size: 1.5rem;
  }

  #hero p {
    font-size: 1rem;
  }

  .cta-button {
    font-size: 0.9rem;
  }

  .project-overlay p {
    font-size: 1rem;
  }

  section {
    padding: 1rem;
    margin: 1rem 0;
  }

  #services h2,
  #projects h2,
  #contact h2,
  #furniture-production h2 {
    font-size: 1.5rem;
  }

  .service h3,
  .detail h3 {
    font-size: 1.2rem;
  }

  .service p,
  .detail p {
    font-size: 0.9rem;
  }

  footer {
    font-size: 0.9rem;
    padding: 0.5rem 0;
  }
}
.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.social-icons {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
}

.social-icons a {
  color: #FFD700;
  font-size: 1.5rem;
  transition: transform 0.3s ease, color 0.3s ease;
}

.social-icons a:hover {
  color: #FFC107;
  transform: scale(1.2);
}

.footer-address {
  color: #aaa;
  font-size: 0.8rem;
}

.footer-address a {
  color: #FFD700;
  text-decoration: none;
}

.footer-address a:hover {
  text-decoration: underline;
}
