/* ═══════════════════════════════════════════════
   CONTACT.CSS  –  Next Transport Edition
   ═══════════════════════════════════════════════ */

/* ── Design tokens ── */
:root {
  color-scheme: light;
  --accent:      #0ea5e9;
  --accent-dark: #0284c7;
  --dark:        #000000;
  --dark-2:      #0a0a0a;
  --light:       #f5f5f5;
  --white:       #ffffff;
  --radius-sm:   8px;
  --radius-md:   16px;
  --radius-lg:   24px;
  --transition:  all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Scroll reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Section label ── */
.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(14, 165, 233, 0.1);
  padding: 6px 18px;
  border-radius: 100px;
  margin-bottom: 18px;
  font-family: 'Outfit', sans-serif;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--accent);
  color: var(--white);
  padding: 17px 42px;
  border-radius: 100px;
  font-size: 1.05rem;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}
.btn-primary:hover {
  background-color: var(--accent-dark);
  color: #fff;
  transform: translateY(-2px);
}

/* ══════════════════════════════════════
   HERO / WELCOME
══════════════════════════════════════ */
#welcome {
  position: relative;
  background-color: var(--light);
  padding: 160px 24px 100px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

#welcome .welcome-center {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  margin: 0 auto;
}

#welcome .hero-title {
  font-size: clamp(2.5rem, 4.5vw, 4.2rem);
  font-weight: 800;
  color: var(--dark-2);
  font-family: 'Sora', sans-serif;
  line-height: 1.15;
  margin-bottom: 25px;
  letter-spacing: -1px;
}

#welcome .hero-title span {
  color: var(--accent);
}

#welcome .hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.85;
  color: #555;
  font-family: 'Outfit', sans-serif;
  margin: 24px auto 44px;
  max-width: 900px;
}

#welcome .welcome-actions {
  display: flex;
  align-items: center;
  gap: 30px;
}

/* Background shapes for uniqueness */
#welcome .hero-bg-shapes {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

#welcome .shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
}

#welcome .shape-1 {
  width: 400px;
  height: 400px;
  background: var(--accent);
  top: -100px;
  right: -100px;
  opacity: 0.15;
}

#welcome .shape-2 {
  width: 300px;
  height: 300px;
  background: #000;
  bottom: -50px;
  left: -50px;
  opacity: 0.05;
}

/* ══════════════════════════════════════
   INFO CARDS
══════════════════════════════════════ */
#info {
  background-color: var(--white);
  padding: 116px 24px;
}

#info .container {
  max-width: 1200px;
  margin: 0 auto;
}

#info .info-row {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

#info .info-item {
  flex: 1 1 280px;
  max-width: 320px;
  text-align: center;
  padding: 40px 20px;
  background: var(--white);
  border: 1px solid #eeeeee;
  border-radius: var(--radius-md);
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

#info .info-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.06);
  border-color: rgba(14, 165, 233, 0.2);
}

#info .info-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.35s ease;
  transform-origin: left;
}

#info .info-item:hover::before {
  transform: scaleX(1);
}

#info .icon-wrap {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  background: rgba(14, 165, 233, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  transition: all 0.3s ease;
}

#info .info-item:hover .icon-wrap {
  background: var(--accent);
  color: var(--white);
  transform: scale(1.1);
}

#info .icon-wrap span {
  font-size: 32px;
}

#info .info-item h5 {
  font-size: 1.25rem;
  font-weight: 700;
  font-family: 'Sora', sans-serif;
  color: #111111;
  margin-bottom: 12px;
}

#info .info-item a,
#info .info-item p,
#info .info-item > span {
  font-size: 1.05rem;
  line-height: 1.85;
  color: #555555;
  font-family: 'Outfit', sans-serif;
  text-decoration: none;
  display: inline-block;
  transition: color 0.3s ease;
}

#info .info-item a:hover {
  color: var(--accent);
}

/* ══════════════════════════════════════
   RADNO VREME
══════════════════════════════════════ */
#time {
  background-color: var(--light);
  padding: 116px 24px;
  text-align: center;
}
#time .custom-container {
  max-width: 800px;
  margin: 0 auto;
}
#time h3 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 800;
  color: #111111;
  font-family: 'Sora', sans-serif;
  margin-bottom: 20px;
}
#time .numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}
#time .time-div {
  display: flex;
  align-items: center;
  gap: 8px;
}
#time .time-div .number {
  background: var(--white);
  color: var(--accent);
  font-size: 2.5rem;
  font-weight: 700;
  font-family: 'Sora', sans-serif;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  border: 1px solid #eeeeee;
}
#time .time-div .colon {
  font-size: 2.5rem;
  font-weight: 700;
  color: #888888;
}
#time .custom-border {
  width: 40px;
  height: 4px;
  background: #dddddd;
  border-radius: 4px;
}
#time .days {
  font-size: 1.2rem;
  color: #666666;
  font-weight: 500;
  font-family: 'Outfit', sans-serif;
  letter-spacing: 1px;
}

/* ══════════════════════════════════════
   KONTAKT FORMA I LEGAL
══════════════════════════════════════ */
#contact {
  background-color: var(--white);
  padding: 116px 24px;
}
#contact .flex {
  max-width: 1380px;
  margin: 0 auto;
  display: flex;
  gap: 60px;
  align-items: flex-start;
}
#contact .text {
  flex: 1;
  max-width: 400px;
  background: var(--light);
  padding: 50px 40px;
  border-radius: var(--radius-md);
}
#contact .text h4 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--dark);
  font-family: 'Sora', sans-serif;
  margin-bottom: 20px;
}
#contact .text .info-group {
  margin-bottom: 26px;
}
#contact .text .info-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #888888;
  font-family: 'Outfit', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 4px;
}
#contact .text .info-value {
  display: block;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  font-family: 'Sora', sans-serif;
}

#contact .form-container {
  flex: 2;
}
#contact .form-container .title {
  margin-bottom: 40px;
}
#contact .form-container .title h3 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 800;
  color: var(--dark);
  font-family: 'Sora', sans-serif;
  margin-bottom: 20px;
}
#contact .form-container .title p {
  font-size: 1.05rem;
  color: #555555;
  font-family: 'Outfit', sans-serif;
  line-height: 1.85;
}
#contact form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
#contact .input-container input,
#contact .textarea-container textarea {
  width: 100%;
  background: var(--light);
  border: 1px solid #eeeeee;
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  font-size: 1.05rem;
  font-family: 'Outfit', sans-serif;
  color: var(--dark);
  transition: all 0.3s ease;
}
#contact .input-container input:focus,
#contact .textarea-container textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1);
}
#contact .textarea-container textarea {
  height: 180px;
  resize: vertical;
}
#contact .btn-wrap {
  margin-top: 10px;
}

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */

/* --- 1499px Breakpoint --- */
@media (max-width: 1499px) {
  html { font-size: 17px; }
  
  #welcome { padding: 140px 24px 80px; }
  #info, #time, #contact { padding: 100px 24px; }
  
  .btn-primary { padding: 16px 38px; }
}

/* --- 1279px Breakpoint --- */
@media (max-width: 1279px) {
  html { font-size: 16px; }
  
  #welcome { padding: 120px 24px 70px; }
  #info, #time, #contact { padding: 80px 24px; }
  
  #welcome .hero-title { font-size: 3.0rem; }
  #welcome .hero-subtitle { font-size: 1.15rem; }
  
  #time h3,
  #contact .form-container .title h3 { font-size: 2.2rem; }
  
  p { line-height: 1.75; margin-bottom: 24px; }
  
  .btn-primary { padding: 15px 34px; font-size: 1rem; }
}

/* --- 1023px Breakpoint --- */
@media (max-width: 1023px) {
  html { font-size: 15px; }
  
  #welcome { padding: 100px 20px 60px; }
  #welcome .welcome-center { text-align: center; }
  #welcome .welcome-actions { justify-content: center; }

  #info, #time, #contact { padding: 70px 20px; }
  
  #contact .flex { flex-direction: column-reverse; gap: 40px; }
  #contact .text { max-width: 100%; width: 100%; }
  
  #welcome .hero-title { font-size: 2.6rem; }
  #time h3,
  #contact .form-container .title h3 { font-size: 1.9rem; }
  
  .btn-primary { padding: 14px 30px; font-size: 0.95rem; }
}

/* --- 767px Breakpoint --- */
@media (max-width: 767px) {
  html { font-size: 14px; }
  
  #welcome { padding: 80px 16px 50px; }
  #info, #time, #contact { padding: 60px 16px; }
  
  #welcome .hero-title { font-size: 2.2rem; letter-spacing: 2px; }
  #welcome .hero-subtitle { font-size: 1.05rem; margin: 16px auto 30px; }
  
  #time h3,
  #contact .form-container .title h3 { font-size: 1.6rem; margin-bottom: 16px; }
  
  p { line-height: 1.6; margin-bottom: 20px; font-size: 1.05rem; }
  
  .welcome-actions { flex-direction: column; align-items: stretch; }
  .btn-primary { width: 100%; text-align: center; padding: 14px 20px; box-sizing: border-box; }
}

/* --- 499px Breakpoint --- */
@media (max-width: 499px) {
  html { font-size: 13px; }
  
  #welcome, #info, #time, #contact { padding: 50px 16px; }
  
  #welcome .hero-title { font-size: 1.6rem; letter-spacing: 1px; }
  #time h3,
  #contact .form-container .title h3 { font-size: 1.2rem; }
  
  #time .numbers { flex-direction: column; gap: 15px; }
  #time .custom-border { width: 4px; height: 30px; }
  
  #contact .input-container input { height: 48px; font-size: 1rem; padding: 12px 16px; }
  #contact .textarea-container textarea { height: 100px; padding: 12px 16px; font-size: 1rem; }
}
