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

* {
  margin: 0;
  padding: 0;
  outline: none;
  text-decoration: none;
  scroll-behavior: smooth;
  font-family: 'Poppins', sans-serif;
}

body {
  overflow-x: hidden;
  background: var(--white);
}

:root {
  --white: #ffffff;
  --dark-white: #e9e9e9;
  --light-dark: #141414;
  --black: #000000;
  --root-clr: #f2a635;
}

.desktop-navbar {
  width: 100%;
  display: flex;
  position: sticky;
  top: 0;
  justify-content: space-around;
  background: linear-gradient(135deg, var(--color-gradient-start), var(--color-gradient-end));
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  z-index: 5;
}

.desktop-navbar .desk-nav-item {
  font-family: 'Poppins', sans-serif;
  height: 40px;
  margin-top: 50px;
}

.desktop-navbar .desk-nav-item a {
  padding-top: 20px;
  color: var(--light-dark);
}

.desktop-navbar .desk-nav-item a:hover {
  color: var(--root-clr);
}

.desktop-navbar .desk-nav-item-img {
  height: 100px;
  padding: 10px;
  background: transparent;
}

.desktop-navbar .desk-nav-item-img img {
  width: 110px;
  height: 100px;
}

.desktop-navbar .desk-nav-item svg {
  cursor: pointer;
  margin-top: 5px;
  color: var(--root-clr);
}

.desktop-navbar .desk-nav-item:nth-child(6) {
  display: none;
}

/* Overlay styles */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Sidebar styles */
.sidebar {
  position: fixed;
  top: 0;
  right: -270px;
  width: 270px;
  height: 100%;
  background-color: var(--light-dark);
  z-index: 100;
  box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
  transition: right 0.3s ease;
}

.sidebar.active {
  right: 0;
}

.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background-color: white;
  clip-path: ellipse(100% 55% at 48% 44%);
}

.close-btn {
  background: none;
  border: none;
  color: var(--black);
  font-size: 1.7rem;
  font-weight: 900;
  cursor: pointer;
}

.sidebar-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-menu li {
  padding: 1rem;
}

.sidebar-menu li a {
  text-decoration: none;
  color: var(--dark-white);
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sidebar-menu li:hover {
  background-color: var(--root-clr);
  color: #fff;
  transition: 0.3s;
}

/* Section container */
.shortlets-section {
  padding: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  background: #fafafa;
}

.shortlets-section h2 {
  width: 100%;
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
  color: var(--light-dark);
}

/* Shortlet card */
.shortlet-card {
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  flex: 1 1 280px;
  /* each card takes at least 280px and grows */
  max-width: 320px;
  /* limit width */
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.shortlet-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.shortlet-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.shortlet-info {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.shortlet-info h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--light-dark);
}

/* details row (price & rooms) */
.shortlet-details {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.8rem;
  font-weight: 500;
  color: var(--root-clr);
}

/* footer row (location & rating) */
.shortlet-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 1rem;
}

.see-more {
  padding: 0.6rem 1rem;
  background: var(--root-clr);
  color: var(--white);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
  align-self: flex-start;
}

.see-more:hover {
  background: #d68a20;
}

/* Rent Now Button in Modal */
.rent-now {
  margin-top: 20px;
  text-align: center;
}

.rent-now a {
  display: inline-block;
  padding: 12px 20px;
  background: #28a745;
  color: white;
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.rent-now a:hover {
  background: #1e7e34;
}


/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  overflow-y: auto;
  /* Scrollable if content is too tall */
}

.modal-content {
  background: #fff;
  margin: 5% auto;
  padding: 25px;
  /* Padding added */
  border-radius: 12px;
  width: 80%;
  max-width: 700px;
  position: relative;
}

.close {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 24px;
  cursor: pointer;
}

/* Slider */
.slider {
  position: relative;
  max-width: 100%;
  height: 400px;
  margin-bottom: 20px;
  overflow: hidden;
  border-radius: 10px;
}

.slides img {
  display: none;
  width: 100%;
  border-radius: 10px;
}

.slides img.active {
  display: block;
}

.prev,
.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  border: none;
  color: #fff;
  font-size: 24px;
  padding: 8px 12px;
  cursor: pointer;
  border-radius: 50%;
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

.amenities {
  text-align: left;
}

.amenities h3 {
  margin-bottom: 10px;
  color: #0077ff;
}

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

.amenities li {
  padding: 6px 0;
  border-bottom: 1px solid #eee;
}


/* ABOUT ME */

.meet-the-ceo {
  color: #d68a20;
  font-size: larger;
  text-align: center;
  margin-top: 40px;
}

.about-section {
  min-height: 60vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 60px;
  margin-bottom: 60px;
}

.about-container {
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-img {
  width: 45%;
  height: 550px;
  background-image: url('./img/Metro/sitting-room-1.jpg');
  background-size: 170%;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 15px;
}

.right {
  width: 55%;
  min-height: 400px;
  background-color: rgba(47, 61, 60, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  border-radius: 8px;
  color: white;
  margin-left: -90px;
  backdrop-filter: blur(10px);
}

.right h1 {
  font-size: 40px;
  font-weight: 200;
}

.right p {
  margin: 20px 0;
  font-weight: 500;
  line-height: 25px;
}

.right a {
  text-decoration: none;
  text-transform: uppercase;
  background: linear-gradient(to left bottom, #ff512f, #ff6a00);
  color: var(--white);
  padding: 20px 30px;
  display: inline-block;
  letter-spacing: 2px;
  border-radius: 5px;
}


/* Footer Styles */
.footer {
  background: #111;
  color: #ddd;
  font-family: 'Segoe UI', sans-serif;
  padding: 40px 20px 10px;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer h4 {
  color: #fff;
  margin-bottom: 12px;
  font-size: 16px;
}

.footer p,
.footer a {
  font-size: 14px;
  line-height: 1.6;
  color: #ddd;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer a:hover {
  color: var(--root-clr);
}

.footer-logo {
  width: 140px;
  margin-bottom: 10px;
}

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

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

.footer-links a {
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--root-clr);
}

/* Icon Styling */
.footer i {
  font-size: 16px;
  color: var(--root-clr);
}

/* Bottom Bar */
.footer-bottom {
  text-align: center;
  margin-top: 30px;
  padding-top: 15px;
  border-top: 1px solid #333;
  font-size: 13px;
  color: #aaa;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 500px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-logo {
    margin: 0 auto 10px;
  }

  .footer p,
  .footer a {
    justify-content: center;
  }
}