@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap');

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


body {
  font-family: "Inter", sans-serif;
  background: #f4f6fa;
  color: #333;
  line-height: 1.6;
  padding-top: 85px; 
}

a {
  color: inherit;
  text-decoration: none;
}

li { list-style: none; }
html { scroll-behavior: smooth; }

/* === NAVBAR === */
.navbar {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 85px;
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 0 30px;
  background: rgb(56, 114, 240);
  color: white;
  z-index: 1000;
}

.navbar__logo img {
  max-width: 100px; height: auto;
}

.navbar__buttons {
  display: flex; gap: 20px; margin-left: auto;
}

.btn, .dropbtn {
  position: relative;
  background: none; color: white;
  font-size: 1.2rem;
  padding: 8px 12px;
  cursor: pointer;
  transition: color .2s;
  display: flex; align-items: center;
}

.btn::after, .dropbtn::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 3px;
  background: white;
  transform: scaleX(0);
  transition: transform .3s, background .3s;
}

.btn:hover, .dropbtn:hover { color: gold; }
.btn:hover::after, .dropbtn:hover::after {
  transform: scaleX(1);
  background: gold;
}

/* Dropdown */
.dropdown { position: relative; }
.dropdown-content {
  position: absolute; top: 100%; left: 0;
  min-width: 160px;
  background: rgb(56,114,240);
  border-radius: 6px;
  box-shadow: 0 8px 16px rgba(0,0,0,.2);
  opacity: 0; visibility: hidden;
  transition: opacity .3s;
}
.dropdown:hover .dropdown-content {
  opacity: 1; visibility: visible;
}
.dropdown-content .btn {
  display: block; width: 100%;
  padding: 10px 15px;
  text-align: left;
}
.dropdown-content .btn:hover {
  background: rgba(255,255,255,0.1);
  color: gold;
}

/* === SIDEBAR === */
.sidebar {
  position: fixed;
  top: 85px; left: 0; /* под navbar */
  width: 70px; height: calc(100% - 85px);
  background: #fff;
  border-right: 1px solid #e0e0e0;
  transition: width .3s;
  overflow: hidden;
  z-index: 3;
}

.sidebar:hover { width: 220px; }

.sidebar a {
  display: flex; align-items: center;
  padding: 12px 15px;
  white-space: nowrap;
  color: #333;
  transition: .3s;
}
.sidebar a:hover { background: #f0f4ff; color: #0066ff; }

.sidebar ion-icon {
  font-size: 22px;
  min-width: 40px;
  text-align: center;
}
.sidebar span { opacity: 0; transition: opacity .3s; }
.sidebar:hover span { opacity: 1; }

/* Bottom user/email */
.sidebar .bottom {
  position: absolute; bottom: 20px; left: 0;
  width: 100%;
  display: flex; align-items: center;
  padding: 10px 15px;
  border-top: 1px solid #eee;
}
.sidebar .bottom img {
  width: 35px; height: 35px;
  border-radius: 50%; margin-right: 10px;
}
.sidebar .bottom span { opacity: 0; }
.sidebar:hover .bottom span { opacity: 1; }

/* === СЕКЦИИ === */
.hero {
  background: url("https://digital.ihg.com/is/image/ihg/intercontinental-tegucigalpa-6071105521-2x1") center/cover;
  text-align: center; color: white;
  padding: 100px 20px;
}
.hero h1, .hero p { text-shadow: 2px 2px 6px rgba(0,0,0,.7); }
.hero h1 { font-size: 2.5rem; margin-bottom: 15px; }
.hero p { font-size: 1.2rem; margin-bottom: 20px; }

.cta-btn {
  background: red; color: white;
  padding: 12px 20px;
  border: none; border-radius: 8px;
  font-size: 1.1rem; cursor: pointer;
  transition: background .3s;
}
.cta-btn:hover { background: darkred; }

/* About */
.about {
  text-align: center; padding: 50px 20px;
  font-size: larger;
}
.about h2 { font-size: 2rem; margin-bottom: 20px; }
.about p {
  max-width: 800px; margin: 0 auto 20px;
  text-shadow: 2px 2px 6px rgba(0,0,0,.2);
}
.circle-img {
  width: 200px; height: 200px;
  border-radius: 50%; object-fit: cover;
}

/* Gallery */
.gallery-container { max-width: 700px; margin: auto; }
.gallery {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px; justify-items: center;
}
.room {
  background: #fff; padding: 10px;
  border-radius: 10px;
  transition: .3s;
}
.room:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0,0,0,.2);
}
.room-title {
  font: 500 24px/36px Georgia, serif;
  margin-top: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #b8860b;
}

/* Booking */
.booking-form {
  max-width: 600px; margin: 40px auto;
  padding: 50px 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,.1);
}
.booking-form h2 { text-align: center; margin-bottom: 20px; }
.booking-form label { display: block; margin: 10px 0 5px; }
.booking-form input, .booking-form button {
  width: 100%; padding: 10px; margin-bottom: 15px;
  border-radius: 6px; border: 1px solid #aaa;
}
.booking-form button {
  background: rgb(56,114,240); color: white; border: none;
  cursor: pointer; transition: background .3s;
}
.booking-form button:hover { background: rgb(40,90,200); }

/* Contacts */
.contacts {
  text-align: center; padding: 50px 20px;
  background: #fff;
}
.contacts h2 { font-size: 2rem; margin-bottom: 20px; }
.contacts p {
  max-width: 600px; margin: 0 auto 30px;
  color: #555;
}
.contacts-info {
  display: flex; flex-wrap: wrap;
  justify-content: center; gap: 30px;
  margin-bottom: 30px;
}
.contact-item {
  flex: 1 1 250px;
  width: 250px;
  background: #f4f6fa;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,.08);
  transition: .3s;
}
.contact-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0,0,0,.12);
}
.contact-item h3 { margin-bottom: 10px; color: rgb(56,114,240); }
.contact-item ion-icon { font-size: 40px; color: rgb(56,114,240); margin-bottom: 10px; }
.contact-item a:hover { color: red; }
.contact-item button {
  margin-top: 10px;
  padding: 8px 16px;
  border: none;
  background: rgb(56,114,240); color: white;
  border-radius: 6px; cursor: pointer;
  transition: background .3s;
}
.contact-item button:hover { background: rgb(40,90,200); }

.contacts-map iframe {
  border-radius: 12px; max-width: 900px;
  width: 100%; display: block; margin: auto;
}

/* Footer */
footer {
  background: rgb(92,123,188);
  color: white; text-align: center;
  padding: 20px; margin-top: 50px;
}

/* === АДАПТИВ ДЛЯ ТЕЛЕФОНА === */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    height: auto;
    padding: 10px;
  }
  .navbar__logo img { max-width: 80px; }
  .navbar__buttons {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-left: 0;
  }

  .sidebar { display: none; }

  .hero { padding: 60px 15px; }
  .hero h1 { font-size: 1.8rem; }
  .hero p { font-size: 1rem; }

  .gallery { grid-template-columns: 1fr; }

  .booking-form {
    margin: 20px 10px;
    padding: 30px 15px;
  }

  .contacts-info { flex-direction: column; align-items: center; }
  .contact-item { width: 100%; max-width: 300px; }
}
