body {
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
   background: linear-gradient(to bottom right, #fdf2f8, #f0eaff);
}

.wrapper {
max-width: 100%;
margin: 0 auto;
padding: 0;
}

/* ===== NAVBAR STYLING ===== */

.navbar {
display: flex;
justify-content: space-between;
align-items: center;
background-color:#4b0082 ;
padding: 2.2em 50px;
box-shadow: 0 2px 4px rgba(8, 42, 180, 0.1);
position: sticky;
top: 0; 
z-index: 999;
flex-wrap: wrap;
}

.nav-title {
font-family:'Trebuchet MS', sans-serif; 
font-size: clamp(24px, 5vw, 40px);
font-weight: bold;
text-transform: uppercase;
color: white;
white-space: nowrap;
padding: 0;
margin: 0;
line-height: 1.2;
}

/* NAV LINKS & BUTTONS */
.nav-content {
display: flex;
align-items: center;
gap: 22px;
}

.nav-content > * {
display: flex;
align-items: center;
height: 100%;
}

.nav-content a,
.dropdown-button {
  position: relative;
  color: white;
  font-size: clamp(10px, 2vw, 18px);
  font-weight: bold;
  background: none;
  border: none;
  text-decoration: none;
  font-family: 'Trebuchet', sans-serif;
  cursor: pointer;
  padding: 0;
  margin: 0;
  line-height: 1;
  height: 100%;
  display: flex;
  align-items: center;
  transition: color 0.3s ease;
}

.nav-content a::after,
.dropdown-button::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right,#88ccf6, #fff);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
  border-radius: 2px;
}

.nav-content a:hover,
.dropdown-button:hover {
  color: #88ccf6;
  text-shadow: 0 0 5px rgba(239, 191, 4, 0.5);
}

.nav-content a:hover::after,
.dropdown-button:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.dropdown-button {
appearance: none;
-webkit-appearance: none;
-moz-appearance: none;
}

/* ===== DROPDOWN MENU ===== */
.dropdown {
position: relative;
}

.dropdown-content {
display: none;
position: absolute;
top: 35px;
left: 0;
background-color: #f4f4f4;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
border-radius: 6px;
min-width: 160px;
z-index: 1;
}

.dropdown-content a {
display: block;
padding: 10px 15px;
text-decoration: none;
color: #002544;
}

.dropdown-content a:hover {
background-color: #dedcdc;
}

.show .dropdown-content {
display: block;
}

/* ===== MOBILE STYLES ===== */
@media (max-width: 768px) {
.navbar {
flex-direction: column;
align-items: center;
padding: 1em 20px;
}

.nav-title {
text-align: center;
width: 100%;
}

.nav-content {
justify-content: center;
width: 100%;
margin-top: 0.5em;
text-align: center;
}
}
main {
  max-width: 1000px;
  margin: 30px auto;	
  padding: 0 20px;
}

h2 {
  color: #4b0082;
 font-weight: bold;
margin-bottom: 20px;
font-size: clamp(20px, 4vw, 45px);

}

.shop-grid{
display: grid;
grid-template-columns: repeat(2,1fr);
gap: 3em;
padding: 2em;
box-sizing: border-box;
width: 100%;
}
@media (max-width: 700px) {
.shop-grid {
grid-template-columns: 1fr; /* ✅ Only 1 per row on small screens */
padding: 1em;
}
}


.shop-card {
  background: white;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  border-left: 6px solid #4b0082;
  transition: transform 0.2s;
}

.shop-card:hover {
  transform: translateY(-2px);
}

.shop-card a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.shop-name {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 5px;
}

.stars {
  color: #ffa500;
  margin-bottom: 5px;
}

.location {
  font-style: italic;
  color: #555;
}

.description {
  margin-top: 8px;
  color: #333;
}

.shop-img {
display: block;
object-fit: contain;
width: auto;
height: auto;
max-width: 100%;
min-width:100px;
max-height: 150px;
min-height:170px;
margin:0 auto;

}


/* ===== Footer ===== */
footer {
text-align: center;
padding: 20px;
background-color: #4b0082;
color: white;
margin-top: 40px;
}

.footer-content {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
place-items: center;
background-color: #4b0082;
padding: 20px;
}


.footer-section h3 {
margin-bottom: 20px;
color:white
}

.footer-section p {
margin: 5px 0px;
color:#bfe6ff;
}

.footer-bottom {
text-align: center;
padding: 10px;
padding-bottom: 20px;
background-color: #4b0082;
font-size: 14px;
color:white;
}

.footer-section a {   
text-decoration: none;
color: #bfe6ff;
}

/* Back to top */
#backToTop {
  display: none;
  position: fixed;
  bottom: 40px;
  right: 30px;
  z-index: 999;
  font-size: 22px;
  border: none;
  outline: none;
  background-color: #8e08dc;
  color: #ffffff;
  cursor: pointer;
  padding: 12px 16px;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

#backToTop:hover {
  background-color: hsl(273, 82%, 78%);
  transform: scale(1.2);
}


