/* =========================================
   ZORJA STUDIO - CSS
   ========================================= */

/* RESET & BASE */
:root {
  --color-bg: #ffffff;
  --color-text: #1a1a1a;
  --color-text-light: #555555;
  --color-border: #e0e0e0;
  --color-hero-text: #ffffff;
  --font-main: "Source Sans 3", sans-serif;
  --transition-standard: all 0.3s ease;
}

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

body {
  font-family: var(--font-main);
  font-optical-sizing: auto;
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-standard);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.bg-light {
  background-color: #f9f9f9;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 40px;
  letter-spacing: -0.02em;
}

/* =========================================
   HERO SEKCIJA
   ========================================= */
.hero {
  position: relative;
  width: 100%;
  height: 740px; /* Prema zahtjevu za desktop */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #000; /* Fallback dok se video ne učita */
}

/* Responsivna visina za manje ekrane */
@media (max-width: 768px) {
  .hero {
    height: 100vh; /* Na mobitelima je bolje da popuni ekran ili bude malo manji */
    min-height: 600px;
  }
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translateX(-50%) translateY(-50%);
  object-fit: cover;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3); /* Zatamnjenje za bolju čitljivost teksta */
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: var(--color-hero-text);
  padding: 0 20px;
  width: 100%;
}

.hero-star {
  width: 160px; /* Prilagodite po potrebi */
  margin-bottom: 24px;
}

.hero-logo {
  width: 250px; /* Prilagodite po potrebi */
  margin-bottom: 40px;
}

/* Kontejner za tekst kako bi H1 i H3 bili jednako široki 
   Koristimo max-width i flexbox kako bismo ih zadržali uniformnim */
.hero-text-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 48px;
  max-width: 800px;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
  width: 100%;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 300;
  letter-spacing: 0.05em;
  opacity: 0.9;
  text-transform: uppercase;
  width: 100%;
}

/* Button */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 36px 12px 36px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 9999px;
  background: transparent;
  color: var(--color-hero-text);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  backdrop-filter: blur(4px);
}

.btn-primary:hover {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
}

/* =========================================
   OUR STORY
   ========================================= */
.story-content {
  max-width: 800px;
}

.story-content p {
  font-size: 1.25rem;
  color: var(--color-text-light);
  margin-bottom: 24px;
  font-weight: 300;
}

/* =========================================
   OUR SERVICES
   ========================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.service-item {
  padding: 32px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  transition: var(--transition-standard);
}

.service-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.service-title {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 16px;
}

.service-desc {
  color: var(--color-text-light);
  font-size: 1rem;
  font-weight: 300;
}

/* =========================================
   CONTACT
   ========================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

@media (max-width: 860px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-list {
  list-style: none;
  margin-top: 32px;
}

.contact-list li {
  display: flex;
  align-items: center;
  margin-bottom: 24px;
  font-size: 1.1rem;
}

.contact-list i {
  font-size: 1.5rem;
  margin-right: 16px;
  color: var(--color-text-light);
}

.contact-list a:hover {
  color: #000;
  text-decoration: underline;
}

/* Kontakt Forma */
.contact-form-wrapper {
  background: #f9f9f9;
  padding: 40px;
  border-radius: 16px;
}

.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 500px) {
  .contact-form .form-row {
    grid-template-columns: 1fr;
  }
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-light);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition-standard);
  background: #ffffff;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #000;
  box-shadow: 0 0 0 1px #000;
}

.btn-submit {
  display: inline-block;
  width: 100%;
  padding: 16px;
  background: #000;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-standard);
}

.btn-submit:hover {
  background: #333;
}
