/* Global */
body {
  font-family: 'Segoe UI', sans-serif;
  background: #f7f7f7;
  color: #222;
  opacity: 0;
  transition: opacity 0.3s;
  margin: 0;
}
body.fade-in {
  opacity: 1;
}
body.fade-out {
  opacity: 0;
}
a {
  text-decoration: none;
  color: inherit;
}

/* Socialni linki */
.social-links a {
  color: #0066cc;
  text-decoration: underline;
}

.social-links a:hover {
  color: #004499;
}
header {
  background: #333;
  padding: 0.5em 0;
  width: 100%;
  position: relative;
  top: 0;
  left: 0;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1em;
}
.logo {
  height: 45px;
  width: auto;
}
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 2em;
  margin: 0;
  padding: 0;
}
.main-nav a {
  color: #fff;
  font-weight: 600;
  transition: color 0.2s;
}
.main-nav a:hover,
.main-nav a.active {
  color: #f4c542;
}
.hero {
  background: url('photos/Naslovna.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  padding: 8em 2em;
  text-align: center;
  border: 3px solid #f4c542;
  border-radius: 10px;
  margin: 2em 0;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.hero h1 {
  margin-bottom: 0.5em;
  text-shadow: 3px 3px 6px rgba(0,0,0,0.8), 1px 1px 2px rgba(0,0,0,0.9);
  font-weight: bold;
  font-size: 2.5em;
}

.hero p {
  text-shadow: 2px 2px 4px rgba(0,0,0,0.8), 1px 1px 2px rgba(0,0,0,0.9);
  max-width: 600px;
  margin: 0 auto;
  font-weight: 500;
  font-size: 1.2em;
}

/* Responsive design za hero sekcijo */
@media (max-width: 768px) {
  .hero {
    padding: 4em 1em;
    min-height: 300px;
  }
}
main {
  padding: 2em 1em;
  max-width: 1000px;
  margin: 0 auto;
}
section {
  margin-bottom: 3em;
}
footer {
  background: #333;
  color: #fff;
  text-align: center;
  padding: 1em 0;
  width: 100%;
  position: relative;
  bottom: 0;
  left: 0;
}

/* Storitev sekcija */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2em;
}
.service {
  background: #fff;
  border-radius: 20px;
  padding: 1.5em;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  border: 1px solid rgba(244, 197, 66, 0.1);
  display: flex;
  flex-direction: column;
  min-height: 300px;
}

.service:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
  border-color: rgba(244, 197, 66, 0.3);
}

.service h2 {
  color: #333;
  margin-bottom: 1em;
  font-size: 1.4em;
  font-weight: 600;
}

.service p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 1.5em;
}

.price {
  font-size: 1.4em;
  font-weight: bold;
  color: #f4c542;
  text-align: center;
  background: rgba(244, 197, 66, 0.1);
  padding: 0.6em;
  border-radius: 12px;
  margin-top: auto;
  border: 2px solid #f4c542;
}

/* Naročanje */
form {
  background: #fff;
  padding: 30px 40px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  width: 100%;
  max-width: 500px;
  margin: 40px auto;
}
label {
  display: block;
  margin: 1em 0 0.3em;
}
input,
select,
button {
  width: 100%;
  padding: 0.7em;
  font-size: 1em;
  border-radius: 5px;
  border: 1px solid #ccc;
}
button {
  background: #f4c542;
  color: #222;
  font-weight: bold;
  border: none;
  cursor: pointer;
  margin-top: 1em;
}
button:hover {
  background: #e6b800;
}
.success-message {
  text-align: center;
  margin-top: 1em;
  color: green;
}
.location-info {
  text-align: center;
  margin-bottom: 2em;
}

.location-video {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 2em 0;
}

.location-video video {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.map-container {
  margin-top: 2em;
  border: 1px solid #ccc;
  border-radius: 8px;
  overflow: hidden;
}
iframe {
  width: 100%;
  height: 300px;
  border: none;
}
