/* RESET I OSNOVNE POSTAVKE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { width: 100%; overflow-x: hidden; }

:root {
  --header-h: 80px;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .15);
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #fdfcf9;
  color: #222;
}

a {
  text-decoration: none;
}

/* KONTEJNER */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

html {
  scroll-behavior: smooth;
}


/* DESKTOP NAVIGACIJA */



/* HERO SEKCIJA */
.hero {
  height: 100vh;
  background-image: url('img/sarajevo-panorama.webp');
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 100px;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
}

.hero-content {
  position: relative;
  color: white;
  z-index: 1;
  max-width: 800px;
}

.hero-content h1 {
  font-size: 48px;
  line-height: 1.3;
  margin-bottom: 20px;
}

.hero-content h1 span {
  color: #e6b800;
}

.hero-content p {
  font-size: 18px;
  margin-bottom: 30px;
}

.hero-buttons .btn {
  display: inline-block;
  padding: 12px 25px;
  margin: 5px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.btn.gold {
  background-color: #e6b800;
  color: white;
}

.btn.gold:hover {
  background-color: #cfa500;
}

.btn.dark {
  background-color: #333;
  color: white;
}

.btn.dark:hover {
  background-color: #111;
}

/* SEKCIJA HOTELI */
.hotels-section {
  padding: 100px 20px 60px;
  background-color: #fdfcf9;
  text-align: center;
}

.section-title {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #111;
}

.section-subtitle {
  font-size: 16px;
  color: #555;
  max-width: 720px;
  margin: 0 auto 50px;
  line-height: 1.6;
}

/* RASPORED KARTICA */
.hotels-row {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

/* KARTICA HOTELA */
.hotel-card {
  width: 360px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: 0.3s;
}

.hotel-card:hover {
  transform: translateY(-6px);
}

.hotel-img-wrapper {
  position: relative;
}

.hotel-image {
  width: 100%;
  height: 230px;
  object-fit: cover;
  display: block;
}

.hotel-rating {
  position: absolute;
  top: 12px;
  right: 12px;
  background-color: #fff;
  color: #222;
  font-weight: bold;
  font-size: 13px;
  padding: 5px 10px;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* Informacije o hotelu */
.hotel-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.hotel-location {
  font-size: 13px;
  color: #666;
  margin-bottom: 6px;
}

.hotel-name {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 10px;
  color: #111;
}

.hotel-description {
  font-size: 14px;
  color: #444;
  line-height: 1.5;
  margin-bottom: 15px;
}

/* TAGOVI */
.hotel-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.hotel-tags span {
  background: #f3f3f3;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 12px;
  color: #555;
}

/* TAGOVI UKLONJENI ZA SAD */
.hotel-tags {
  display: none;
}

/* DUGME */
.view-more {
  margin: 20px auto 0 auto;
  /* centriraj */
  background-color: #000;
  color: #fff;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  transition: background-color 0.3s ease;
  display: inline-block;
  text-align: center;
}

.view-more:hover {
  background-color: #333;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hotel-card {
    width: 100%;
  }

  .header .container {
    flex-direction: column;
    gap: 15px;
  }

  .hero-content h1 {
    font-size: 32px;
  }
}

/* AMENITIES SECTION */
.amenities-section {
  padding: 100px 20px;
  background-color: #fff;
  text-align: center;
}

.amenities-section .section-title {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #111;
}

.amenities-section .section-subtitle {
  font-size: 16px;
  color: #555;
  max-width: 720px;
  margin: 0 auto 50px;
  line-height: 1.6;
}

/* Amenities Grid */
.amenities-grid {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 60px;
  flex-wrap: wrap;
}

/* Individual Amenity Card */
.amenity-card {
  flex: 0 1 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.amenity-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 20px;
  background-color: #e6b800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.amenity-icon img {
  width: 30px;
  height: 30px;
}

/* Heading and Description */
.amenity-card h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #222;
}

.amenity-card p {
  font-size: 14px;
  color: #667085;
  max-width: 220px;
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 768px) {
  .amenities-grid {
    flex-direction: column;
    gap: 40px;
  }

  .logo img {
    height: 70px;
  }

  .amenity-card {
    flex: 1 1 100%;
  }
}

/* ABOUT US SECTION */
.about-section {
  padding: 80px 20px;
  background-color: #fffaf4;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

/* Tekstualni dio */
.about-text {
  flex: 1;
  min-width: 300px;
}

.about-text h2 {
  font-size: 36px;
  color: #111;
  margin-bottom: 20px;
}

.about-text p {
  font-size: 16px;
  color: #444;
  line-height: 1.6;
  margin-bottom: 15px;
}

/* Slike */
.about-images {
  flex: 1;
  min-width: 300px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-images .top-row {
  display: flex;
  gap: 20px;
  z-index: 2;
  position: relative;
}

.about-images .bottom-img {
  position: relative;
  top: -40px;
  z-index: 1;
}

/* Style za sve slike */
.about-images img {
  width: 280px;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover efekat za sve slike */
.about-images img:hover {
  transform: scale(1.05);
  z-index: 3;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

/* Responsive */
@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
  }

  .about-text,
  .about-images {
    width: 100%;
  }

  .about-text h2 {
    font-size: 28px;
  }

  .about-images .top-row {
    flex-direction: column;
    align-items: center;
  }

  .about-images .bottom-img {
    top: -60px;
  }
}

/* CONTACT */
.contact-section {
  padding: 100px 20px 80px;
  background-color: #fdfcf9;
  color: #222;
}

.contact-container {
  max-width: 1300px;
  /* povećano */
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  /* manji razmak */
  flex-wrap: wrap;
  align-items: flex-start;
}

.contact-info {
  flex: 1 1 40%;
  font-size: 17px;
  line-height: 1.8;
}

.contact-info h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.contact-info p {
  font-size: 17px;
  line-height: 1.8;
  color: #444;
  margin-bottom: 25px;
}

.contact-info ul {
  list-style: none;
  padding: 0;
}

.contact-info li {
  margin-bottom: 12px;
  font-size: 16px;
  color: #333;
}

.contact-info li strong {
  color: black;
}
.contact-info li a {
  color: #e6b800;
}

.contact-form {
  flex: 1 1 55%;
  background: #fff;
  padding: 35px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form label {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 5px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 15px;
  font-family: inherit;
  background-color: #fff;
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-btn {
  background-color: #e6b800;
  color: #fff;
  font-weight: bold;
  padding: 12px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  align-self: flex-start;
}

.contact-btn:hover {
  background-color: #cfa500;
}

.row-2 {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.row-2 .form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Responsive Design */
@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
  }

  .contact-info,
  .contact-form {
    /* flex: 1 1 100%; */
    max-width: 100%;
    width: 100%;
  }

  .row-2 {
    flex-direction: column;
  }
}

/* FOOTER */
footer {
  background-color: #161a1d;
  color: #d1d1d1;
  font-family: Arial, sans-serif;
  padding: 60px 80px 30px 80px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  flex-wrap: nowrap;
}

.footer-logo-social {
  flex: 1;
}

.footer-logo-social h3 {
  font-size: 24px;
  font-weight: bold;
  color: #ffffff;
}

.footer-logo-social h3 span {
  color: #f9c300;
}

.footer-logo-social p {
  font-size: 16px;
  margin: 20px 0;
  line-height: 1.6;
}

.footer-social-icons {
  display: flex;
  gap: 25px;
  margin-top: 10px;
}

.footer-social-icons img {
  width: 24px;
  height: 24px;
}

.footer-links {
  flex: 1;
}

.footer-links h4 {
  color: #f9c300;
  font-size: 20px;
  margin-bottom: 20px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links ul li {
  margin-bottom: 12px;
}

.footer-links ul li a {
  text-decoration: none;
  color: #d1d1d1;
  font-size: 16px;
}

.footer-links ul li a:hover {
  color: #f9c300;
}

.footer-hotels {
  flex: 2;
  margin-left: -30px;
  /* 👈 Pomjera cijelu Our Hotels sekciju bliže Quick Links */
}

.footer-hotels h4 {
  color: #f9c300;
  font-size: 20px;
  margin-bottom: 20px;
}

.footer-hotel-group {
  display: flex;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 40px;
}

.footer-hotel {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
}

.footer-hotel h5 {
  font-size: 17px;
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 10px;
}

.footer-hotel p {
  font-size: 15px;
  margin: 5px 0;
  color: #d1d1d1;
  line-height: 1.5;
}

.footer-hotel a {
  color: #fbbf24;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-hotel a:hover {
  color: #f59e0b;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #2c2f33;
  margin-top: 40px;
  padding-top: 20px;
  font-size: 14px;
  color: #b0b0b0;
}

.footer-bottom span a{
    color:#e6b800;
}

/* ✅ Responsive for mobile */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    gap: 40px;
    padding: 40px 30px 20px 30px;
  }

  .footer-logo-social,
  .footer-links,
  .footer-hotels {
    width: 100%;
  }

  .footer-hotel-group {
    flex-direction: column;
    gap: 25px;
  }

  .footer-hotel {
    width: 1;
    max-width: 0;
  }

  .footer-social-icons {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 15px;
  }

  .footer-bottom {
    font-size: 13px;
    padding-top: 15px;
  }
}

.hotel-header {
  margin-top: 80px;
  /* Ako je header fixed, dodaj dovoljno prostora */
  padding: 20px;
  background-color: #fff;
}

.error {
  color: #ff0000;
  font-size: 14px;
  margin-top: 5px;
  transition: opacity 0.3s ease-in-out;
}

#email_submit {
  display: flex;
  justify-content: center;
  align-items: center;
}