
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Playfair+Display:wght@600;700&display=swap');

:root {
  --cream:       #FFFDEE;
  --lime-light:  #E2FBCE;
  --yellow-green:#E3EF26;
  --teal:        #076653;
  --dark-green:  #0c342c;
  --deepest:     #06231D;
  --white:       #ffffff;
  --gray-100:    #f5f5f5;
  --gray-200:    #e8e8e8;
  --gray-400:    #999;
  --gray-700:    #333;
  --shadow-sm:   0 2px 12px rgba(7,102,83,0.08);
  --shadow-md:   0 8px 32px rgba(7,102,83,0.14);
  --shadow-lg:   0 20px 60px rgba(7,102,83,0.2);
  --radius:      20px;
  --radius-sm:   12px;
  --ease:        all 0.3s cubic-bezier(0.4,0,0.2,1);
}

*{margin:0;padding:0;box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{font-family:'Outfit',sans-serif;background:var(--white);color:var(--gray-700);min-height:100vh;overflow-x:hidden;}





/* ── NAVBAR ── */
.navbar{
  position:sticky;top:0;z-index:1000;
  background:rgba(255,255,255,0.95);
  backdrop-filter:blur(20px);
  border-bottom:1px solid rgba(7,102,83,0.08);
  padding:0 3rem;
  height:72px;
  display:flex;align-items:center;justify-content:space-between;
}
.nav-brand{display:flex;align-items:center;gap:12px;text-decoration:none;}
.nav-brand-icon{
  width:42px;height:42px;
  background:linear-gradient(135deg,var(--teal),var(--dark-green));
  border-radius:12px;
  display:flex;align-items:center;justify-content:center;
  color:var(--yellow-green);font-size:12px;font-weight:800;letter-spacing:-.5px;
}
.nav-brand-text{font-size:1.25rem;font-weight:800;color:var(--dark-green);letter-spacing:1.5px;}
.nav-links{display:flex;align-items:center;gap:2.5rem;list-style:none;}
.nav-links a{
  text-decoration:none;color:var(--gray-700);
  font-size:.875rem;font-weight:500;
  transition:var(--ease);position:relative;padding-bottom:4px;
}
.nav-links a::after{
  content:'';position:absolute;bottom:0;left:0;
  width:0;height:2px;background:var(--teal);
  transition:var(--ease);border-radius:2px;
}
.nav-links a:hover{color:var(--teal);}
.nav-links a:hover::after{width:100%;}
.nav-right{display:flex;align-items:center;gap:1rem;}







/* ── PROFILE ── */
.profile-wrapper{position:relative;}
.profile-btn{
  width:42px;height:42px;border-radius:50%;overflow:hidden;
  cursor:pointer;border:2.5px solid var(--lime-light);
  transition:var(--ease);background:none;padding:0;
}
.profile-btn:hover{border-color:var(--teal);box-shadow:0 0 0 4px rgba(7,102,83,.1);}
.profile-btn img{width:100%;height:100%;object-fit:cover;}
.profile-dropdown{
  display:none;position:absolute;top:calc(100% + 14px);right:0;
  background:white;border-radius:var(--radius);
  box-shadow:var(--shadow-lg);width:280px;overflow:hidden;
  border:1px solid rgba(7,102,83,.08);
}
.profile-dropdown.open{display:block;animation:dropIn .2s ease;}
@keyframes dropIn{from{opacity:0;transform:translateY(-8px);}to{opacity:1;transform:translateY(0);}}
.profile-header{
  background:linear-gradient(135deg,var(--teal),var(--dark-green));
  padding:1.5rem 1.5rem 1.3rem;
  display:flex;align-items:center;gap:14px;
}
.profile-avatar-lg{width:52px;height:52px;border-radius:50%;overflow:hidden;border:2.5px solid rgba(227,239,38,.4);flex-shrink:0;}
.profile-avatar-lg img{width:100%;height:100%;object-fit:cover;}
.profile-info h4{color:white;font-size:.95rem;font-weight:700;margin-bottom:3px;}
.profile-info p{color:var(--yellow-green);font-size:.75rem;opacity:.85;}
.profile-badge{
  background:var(--yellow-green);color:var(--dark-green);
  font-size:.65rem;font-weight:700;padding:3px 10px;
  border-radius:20px;margin-top:5px;display:inline-block;
}
.profile-menu{padding:.6rem;}
.profile-menu-item{
  display:flex;align-items:center;gap:12px;
  padding:10px 12px;border-radius:var(--radius-sm);
  cursor:pointer;transition:var(--ease);
  font-size:.85rem;font-weight:500;color:var(--gray-700);text-decoration:none;
}
.profile-menu-item:hover{background:var(--gray-100);color:var(--teal);}
.profile-menu-item .icon{
  width:32px;height:32px;background:var(--gray-100);
  border-radius:9px;display:flex;align-items:center;justify-content:center;font-size:14px;
}
.profile-menu-divider{height:1px;background:var(--gray-200);margin:.5rem 0;}
.logout-item{color:#e53e3e!important;}
.logout-item:hover{background:#fff5f5!important;}





/* ── HERO ── */
.hero{
  padding:5rem 3rem 4rem;
  max-width:1300px;margin:0 auto;text-align:center;
}
.hero-badge{
  display:inline-flex;align-items:center;gap:8px;
  background:linear-gradient(135deg,var(--lime-light),var(--cream));
  border:1.5px solid rgba(7,102,83,.15);
  padding:7px 20px;border-radius:50px;
  font-size:.78rem;font-weight:600;color:var(--teal);margin-bottom:1.8rem;
}
.hero-badge .dot{
  width:7px;height:7px;background:var(--teal);
  border-radius:50%;animation:pulse 2s infinite;
}
@keyframes pulse{0%,100%{opacity:1;transform:scale(1);}50%{opacity:.5;transform:scale(.8);}}
.hero h1{
  font-family:'Playfair Display',serif;
  font-size:clamp(2.4rem,5vw,3.8rem);
  color:var(--deepest);line-height:1.12;
  margin-bottom:1.4rem;letter-spacing:-1px;
}
.hero h1 .accent{
  background:linear-gradient(135deg,var(--teal),var(--yellow-green));
  -webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;
}
.hero p{
  font-size:1.05rem;color:var(--gray-400);
  max-width:520px;margin:0 auto 2.5rem;line-height:1.8;
}
.stats-bar{
  display:flex;justify-content:center;
  max-width:520px;margin:0 auto;
  background:white;border-radius:var(--radius);
  box-shadow:var(--shadow-md);border:1px solid var(--gray-200);overflow:hidden;
}
.stat-item{flex:1;padding:1.5rem 1rem;text-align:center;border-right:1px solid var(--gray-200);}
.stat-item:last-child{border-right:none;}
.stat-num{font-size:1.8rem;font-weight:800;color:var(--teal);display:block;line-height:1;}
.stat-label{
  font-size:.68rem;color:var(--gray-400);font-weight:500;
  margin-top:5px;display:block;text-transform:uppercase;letter-spacing:.6px;
}






/* ── SECTION HEADER ── */
.section-header{
  padding:0 3rem;max-width:1300px;margin:0 auto 2rem;
  display:flex;align-items:flex-end;justify-content:space-between;
}
.section-title{font-family:'Playfair Display',serif;font-size:1.9rem;color:var(--deepest);font-weight:700;}
.section-title span{color:var(--teal);}
.section-sub{font-size:.8rem;color:var(--gray-400);margin-top:4px;}
.view-all-btn{font-size:.85rem;color:var(--teal);font-weight:600;text-decoration:none;transition:var(--ease);}
.view-all-btn:hover{letter-spacing:.3px;}



/* ── BUILDINGS GRID ── */
.buildings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.4rem;
  padding: 0 3rem 4rem;
  max-width: 1440px;
  margin: 0 auto;
}

/* ── CARD ── */
.building-card {
  text-decoration: none;
  border-radius: 20px;
  overflow: hidden;
  display: block;
  position: relative;
  height: 320px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  transition: transform 0.25s, box-shadow 0.25s;
}
.building-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.22);
}

.card-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* dark green fading up — JS will override this per card */
.card-image-overlay {
  position: absolute;
  inset: 0;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  mask-image: linear-gradient(to top, white 0%, white 35%, transparent 65%);
-webkit-mask-image: linear-gradient(to top, white 0%, white 35%, transparent 65%);
  background: transparent;
  pointer-events: none;
  z-index: 1;
}

.card-top-badges {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
}

/* left badge — white pill */
.card-type-badge {
  background: rgba(255,255,255,0.88);
  color: #076653;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 13px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 5px;
  backdrop-filter: blur(6px);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}


/* right badge — dark green pill */
.card-rooms-badge {
  background: linear-gradient(135deg, #076653, #0c342c);
  color: #E3EF26;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 13px;
  border-radius: 20px;
}

.card-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 16px 18px;
  z-index: 2;
}
.card-name {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 2px;
}
.card-desc {
  color: rgba(255,255,255,0.8);
  font-size: 12px;
  margin-bottom: 10px;
  line-height: 1.4;
  font-weight: 300;
}
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.card-meta {
  display: flex;
  gap: 12px;
}
.meta-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: rgba(255,255,255,1);
}
.reservations-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  display: inline-block;
  flex-shrink: 0;
}
.card-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.35);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  backdrop-filter: blur(4px);
  transition: background 0.25s, color 0.25s;
}

.building-card:hover .card-arrow,
.building-card:active .card-arrow {
  background: #0d7c64;
  border-color: #0c342c;
  color: #E3EF26;
}s



/* ── TOAST ── */
.toast{
  position:fixed;bottom:2.5rem;right:2.5rem;
  background:var(--dark-green);color:var(--yellow-green);
  padding:14px 24px;border-radius:var(--radius-sm);
  font-size:.85rem;font-weight:600;
  box-shadow:var(--shadow-lg);z-index:3000;
  display:none;align-items:center;gap:10px;
}
.toast.show{display:flex;animation:slideUp .3s ease;}
@keyframes slideUp{from{opacity:0;transform:translateY(10px);}to{opacity:1;transform:translateY(0);}}





/* ── FOOTER ── */
.footer{
  background:var(--deepest);color:rgba(255,255,255,.4);
  text-align:center;padding:1.8rem;font-size:.75rem;margin-top:2rem;
  letter-spacing:.3px;
}
.footer span{color:var(--yellow-green);}






/* ── RESPONSIVE ── */
@media(max-width:768px){
  .navbar{padding:0 1.5rem;}
  .nav-links{display:none;}
  .buildings-grid{grid-template-columns:1fr 1fr;padding:0 1.5rem 2.5rem;}
  .section-header{padding:0 1.5rem;}
  .hero{padding:3rem 1.5rem 2.5rem;}
}
@media(max-width:480px){
  .buildings-grid{grid-template-columns:1fr;padding:0 1.25rem 2rem;}
  .stats-bar{flex-direction:column;}
  .stat-item{border-right:none;border-bottom:1px solid var(--gray-200);}
  .stat-item:last-child{border-bottom:none;}
}

@media(max-width:1200px){
  .buildings-grid{grid-template-columns:repeat(2,1fr);}
}
@media(max-width:768px){
  .buildings-grid{grid-template-columns:1fr 1fr;padding:0 1.5rem 2.5rem;}
}

