* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background: #090909;
  color: white;
}

/* Navbar */

.navbar{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:90px;

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:0 60px;

    background:rgba(0,0,0,.75);
    backdrop-filter:blur(12px);

    border-bottom:1px solid rgba(255,255,255,.08);

    z-index:9999;
}

/* ===========================================
   LOGO
=========================================== */

.logo{
    font-family:"Poppins",sans-serif;
    font-size:34px;
    font-weight:800;
    letter-spacing:1px;
    color:#fff;
    line-height:1;
    user-select:none;
}

.logo span{
    color:#d10000;
}

/* ===========================================
   NAVIGATION
=========================================== */

.nav-links{
    display:flex;
    align-items:center;
    gap:40px;
    list-style:none;
}

.nav-links li{
    list-style:none;
}

/* ===========================================
   LINKS
=========================================== */

.nav-links li a{

    font-family:"Poppins",sans-serif;

    font-size:16px;

    font-weight:500;

    color:#fff;

    text-decoration:none;

    position:relative;

    letter-spacing:.4px;

    transition:all .35s ease;

}

.nav-links li a:hover{

    color:#ff3b3b;

}

/* Active Page */

.nav-links li a.active{

    color:#ff2a2a;

}

/* Hover Underline Animation */

.nav-links li a::before{

    content:"";

    position:absolute;

    left:0;

    bottom:-8px;

    width:0;

    height:2px;

    background:#ff2a2a;

    transition:.35s ease;

}

.nav-links li a:hover::before,
.nav-links li a.active::before{

    width:100%;

}

/* ===========================================
   LOVE COUNTER
=========================================== */

.love-counter{

    font-family:"Poppins",sans-serif;

    font-size:17px;

    font-weight:500;

    color:#f1f1f1;

    display:flex;

    align-items:center;

    gap:8px;

    white-space:nowrap;

}

#globalLove{

    color:#ff2a2a;

    font-size:20px;

    font-weight:700;

}

/* ===========================================
   TABLET
=========================================== */

@media(max-width:992px){

.navbar{

    padding:0 30px;

}

.nav-links{

    gap:22px;

}

.logo{

    font-size:28px;

}

.love-counter{

    font-size:15px;

}

}

/* ===========================================
   MOBILE
=========================================== */

@media(max-width:768px){

.navbar{

    flex-direction:column;

    justify-content:center;

    gap:15px;

    height:auto;

    padding:18px;

}

.logo{

    font-size:28px;

}

.nav-links{

    flex-wrap:wrap;

    justify-content:center;

    gap:15px;

}

.nav-links li a{

    font-size:14px;

}

.love-counter{

    font-size:15px;

}

}

/* Hero */
.exhibition-hero {
  min-height: 75vh;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

/* Random background */
.exhibition-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--bg-img);
  background-size: cover;
  background-position: center;
  filter: blur(3px) brightness(0.45);
  transform: scale(1.15);
  z-index: 0;
}

/* Fixed foreground image like 36July */
.hero-main {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);   /* same darkness as old one */
  backdrop-filter: blur(5px);     /* same blur as old one */
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
}

/* COPY THESE FROM OLD CSS */
.hero-content h1 {
  font-size: 70px;
  color: red;
  text-shadow: 0 0 20px rgba(255,0,0,0.5);
}

.hero-content p {
  font-size: 24px;
  color: #ddd;
}

/* Room Nav */
.room-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  padding: 40px 20px;
}

.room-nav button {
  padding: 12px 24px;
  border: 1px solid red;
  background: #111;
  color: white;
  cursor: pointer;
  border-radius: 10px;
  transition: .3s;
}

.room-nav button:hover,
.room-nav button.active {
  background: red;
  box-shadow: 0 0 15px rgba(255,0,0,0.4);
}

/* Room Title */
.room-title {
  text-align: center;
  font-size: 42px;
  margin-bottom: 20px;
}

/* Gallery */
.gallery {
  columns: 2;
  gap: 24px;
  padding: 20px 60px;
}

.card {
  break-inside: avoid;
  margin-bottom: 24px;
  background: #111;
  border-radius: 16px;
  overflow: hidden;
  transition: .3s;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 20px rgba(255,0,0,.25);
}

.card img {
  width: 100%;
  cursor: pointer;
  display: block;
  object-fit: cover;
}

.actions {
  display: flex;
  justify-content: space-between;
  padding: 14px;
}

.actions button {
  padding: 10px 16px;
  border: none;
  background: #222;
  color: white;
  cursor: pointer;
  border-radius: 8px;
}

/* Room controls */
.room-controls {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 40px;
}

.room-controls button {
  padding: 16px 28px;
  background: red;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 10px;
}

.room-controls button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.modal img {
  max-width: 95%;
  max-height: 95%;
}

#closeModal {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 45px;
  cursor: pointer;
}

/* Comment Panel */
.comment-panel {
  position: fixed;
  right: -420px;
  top: 0;
  width: 420px;
  height: 100%;
  background: rgba(15,15,15,.95);
  transition: .4s;
  z-index: 3000;
  display: flex;
  flex-direction: column;
}

.comment-panel.active {
  right: 0;
}

.comment-header {
  display: flex;
  justify-content: space-between;
  padding: 20px;
  border-bottom: 1px solid #333;
}

.comment-list {
  flex: 1;
  overflow: auto;
  padding: 20px;
}

.comment {
  background: #222;
  padding: 14px;
  margin-bottom: 12px;
  border-radius: 10px;
}

.comment-input {
  padding: 20px;
}

.comment-input textarea {
  width: 100%;
  height: 120px;
  background: #222;
  color: white;
  border: none;
  padding: 12px;
}

.comment-input button {
  margin-top: 12px;
  width: 100%;
  padding: 14px;
  background: red;
  color: white;
  border: none;
}

#closeComment {
  cursor: pointer;
  font-size: 32px;
}

/* Mobile */
@media(max-width: 768px) {
  .gallery {
    columns: 1;
    padding: 20px;
  }

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

  .comment-panel {
    width: 100%;
  }

  .navbar {
    flex-direction: column;
    gap: 15px;
    padding: 20px;
  }

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

.nav-links {
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}
}

@media (max-width: 400px) {
  .hero-content h1 {
    font-size: 26px;
  }

  .hero-content p {
    font-size: 12px;
  }
}
.comment-input input{width:100%;padding:12px;margin-bottom:12px;background:#222;color:#fff;border:none;border-radius:8px}.comment strong{display:block;color:#ff5555}.comment small{display:block;color:#aaa;margin-top:8px}





/* ===========================================
        FOOTER
=========================================== */

footer{

    background:#050505;

    padding:80px 20px;

}

.footer-content{

    max-width:900px;

    margin:auto;

    text-align:center;

}

.footer-content h2{

    font-size:42px;

    margin-bottom:15px;

}

.footer-content h2 span{

    color:#d10000;

}

.footer-content p{

    color:#bbbbbb;

    font-size:18px;

}

.footer-content hr{

    margin:35px auto;

    width:150px;

    border:1px solid rgba(255,255,255,.08);

}