/* ========================================
   ROOT VARIABLES
   ======================================== */
:root {
  --bg-dark: #1c1c1c;
  --bg-darker: #161616;
  --text-light: #d6d6d6;
  --text-muted: #9a9a9a;
  --white: #ffffff;
  --accent: #cfcfcf;
}

/* ========================================
   GLOBAL STYLES
   ======================================== */

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

body {
  color: black;
  font-size: 62.5%;
  overflow: none;
   position: relative;
}

body.menu-active {
  overflow: hidden;
}

h1 {
  font-size: 40px;
}

header {
  margin-bottom: 30px;
}

/* ========================================
   HEADER / NAVIGATION
   ======================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: transparent;
  transition:
    background 0.35s ease,
    padding 0.35s ease;
  z-index: 1000;
  padding: 15px 0;
}

.site-header.scrolled {
  background: white;
  backdrop-filter: blur(8px);
  padding: 5px 0;
}

.header-inner {
  max-width: 100%;
  margin: auto;
  padding: 16px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 28px;
  font-weight: 700;
  color: black;
  letter-spacing: 2px;
  margin-left: 10%;
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  text-decoration: none;
  color: black;
  display: flex;
  font-size: 22px;
  padding: 8px 10px;
  transition: color 0.3s;
}

.nav-links a:hover {
  background-color: whitesmoke;
  padding: 8px 10px;
  border-radius: 10px;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
  min-height: 90vh;
  padding-top: 80px;
  text-align: center;
  background-image: url(/images/black1.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  color: #fff;
}

.top-gradient {
  min-height: 80vh;
  padding: 80px 5%;
  text-align: center;
  background: linear-gradient(180deg, #e9fddf 0%, #ffffff 65%);
  background-size: 200% 200%;
  transition: background 3.5s ease-in-out;
  width: 100%;
}

.top-gradient h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.top-gradient p {
  font-size: 1.1rem;
  color: #555;
}

/* Hero Text */
.hero-text {
  margin-top: -40px;
}

.hero-text h1 {
  font-size: clamp(88px, 10vw, 50px);
  z-index: 10;
  color: black;
  margin: 60px auto auto 10px;
}

.hero-text p {
  max-width: 720px;
  margin: auto;
  color: #555;
  font-size: 1.6rem;
  line-height: 1.8;
}

/* Image Cluster */
.image-cluster,
.hero-text {
  position: relative;
  z-index: 2;
}

.image-cluster {
  position: relative;
  width: 100%;
  max-width: 700px;
  height: 360px;
  margin: 5% auto -20px auto;
}

/* Floating Images */
.float {
  position: absolute;
  width: 200px;
  height: 260px;
  object-fit: cover;
  border-radius: 16px;
  transition:
    transform 1.2s ease-in-out,
    opacity 1.5s ease;
  animation: floaty 6s ease-in-out infinite;
  opacity: 0;
}

.img1 {
  top: 20px;
  left: 80px;
  animation-delay: 0s;
}

.img2 {
  top: 100px;
  left: 220px;
  animation-delay: 0.6s;
}

.img3 {
  top: 10px;
  left: 370px;
  animation-delay: 1.2s;
}

.img4 {
  top: 150px;
  left: 520px;
  animation-delay: 1.8s;
}

@keyframes floaty {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-12px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* ========================================
   HERO EXHIBITION SECTION
   ======================================== */
.hero-exhibition {
  position: relative;
  height: 120vh;
  background:
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("/images/Birch-Sunrise-Close-Up-1080-x-1080.webp");
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  padding: 2rem;
  width: 100%;
}

.hero-exhibition h1 {
  font-size: 6.4rem;
  margin-bottom: 0;
  margin-top: 10%;
  font-weight: 700;
}

.hero-exhibition p {
  font-size: 1.6rem;
  max-width: 600px;
  margin-bottom: 2rem;
  line-height: 1.5;
  font-weight: 100;
}

.hero-exhibition a {
  display: inline-block;
  padding: 2rem 4rem;
  background-color: #fff;
  color: #000;
  font-size: 1.8rem;
  text-decoration: none;
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
  border-radius: 4px;
}

.hero-exhibition a:hover {
  background-color: #000;
  color: #fff;
}

/* ========================================
   ARTWORKS HEADER
   ======================================== */
header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
  margin-top: 5rem;
  width: 100%;
}

header h2 {
  font-size: 4.8rem;
  color: #000;
  margin-bottom: 1rem;
  max-width: 475px;
  font-weight: 200;
}

header p {
  font-size: 2.4rem;
  color: #777;
  margin-bottom: 0.5rem;
}

/* ========================================
   GALLERY GRID
   ======================================== */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  justify-content: center;
  gap: 2rem;
  padding: 2rem;
  margin: 0;
  width: 100%;
}

.card {
  background: #dcdad0;
  cursor: pointer;
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
}

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

.card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.container {
  position: relative;
  overflow: hidden;
}

.artwork {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.artwork:hover {
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
}

.overlay-text {
  text-align: center;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  border-radius: 8px 8px 0 0;
  top: -100%;
  bottom: -100px;
  left: 0;
  right: 0;
  height: 80%;
  width: 100%;
  transition:
    top 0.3s ease,
    opacity 0.3s ease;
  background-color: rgba(0, 0, 0, 0.6);
}

.container:hover .overlay-text {
  top: 0;
}

/* ========================================
   EXHIBITIONS SECTION
   ======================================== */
.exgall h1 {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4.5rem;
  margin: 0;
}

/* ========================================
   LOAD MORE BUTTON
   ======================================== */
.load-more-btn {
  display: block;
  margin: 60px auto;
  padding: 16px 40px;
  font-size: 18px;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: linear-gradient(135deg, #111, #333);
  color: #fff;
  box-shadow: 0 8px 25px black;
  border: none;
  border-radius: 40px;
  cursor: pointer;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    background 0.35s ease;
}

.load-more-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  background: linear-gradient(135deg, #000, #222);
}

.load-more-btn:active {
  transform: scale(0.97);
}

/* ========================================
   MODAL
   ======================================== */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: #fff;
  padding: 30px;
  max-width: 650px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  line-height: 1.6;
}

#close {
  float: right;
  font-size: 26px;
  cursor: pointer;
}

/* ========================================
   TALKS SECTION
   ======================================== */
.talks {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    url("/images/Vector-2.png") center / cover no-repeat,
    linear-gradient(180deg, #83969d 0%, #e5dbdb 65%);
  width: 100%;
}

.written {
  max-width: 900px;
  text-align: center;
  padding: 20px;
}

.written h1 {
  font-size: 46px;
  color: #111;
  line-height: 1.3;
}

/* ========================================
   SCROLL REVEAL ANIMATIONS
   ======================================== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 1.2s ease,
    transform 1.2s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

.reveal.fade {
  transform: translateY(25px);
  transition-duration: 1.5s;
}

.written.reveal {
  transform: translateY(60px);
  transition-duration: 1.6s;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: linear-gradient(180deg, var(--bg-dark), var(--bg-darker));
  color: var(--text-light);
  padding: 70px 7% 28px;
  animation: fadeUp 1s ease forwards;
  width: 100%;
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
}

/* Footer Brand */
.footer-brand h2 {
  font-size: 36px;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-brand p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 420px;
}

/* Social Icons */
.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 25px;
}

.social-icons a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #2a2a2a;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.35s ease;
}

.social-icons a:hover {
  background: var(--white);
  color: #000;
  transform: translateY(-6px) scale(1.05);
}

/* Footer Links */
.footer-links h4 {
  font-size: 18px;
  margin-bottom: 25px;
  color: var(--white);
  position: relative;
}

.footer-links h4::after {
  content: "";
  width: 40px;
  height: 2px;
  background: var(--accent);
  position: absolute;
  bottom: -10px;
  left: 0;
}

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

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

.footer-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 15px;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 6px;
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid #2b2b2b;
  margin-top: 60px;
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.footer-bottom p {
  font-size: 14px;
  color: var(--text-muted);
}

.footer-bottom-links {
  display: flex;
  gap: 25px;
}

.footer-bottom-links a {
  text-decoration: none;
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
  color: var(--white);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================= */
/* ARTWORK DETAIL PAGE */
/* ========================= */

.detail-header {
  padding: 30px 7%;
}

.detail-header a {
  text-decoration: none;
  font-size: 18px;
  color: black;
}

.art-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding: 60px 7%;
  align-items: center;
}

.art-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.art-info h1 {
  font-size: 42px;
  margin-bottom: 20px;
}

.meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px 30px;
  margin-bottom: 25px;
}

.meta p {
  font-size: 16px;
  color: #333;
}

.description {
  font-size: 17px;
  line-height: 1.8;
  color: #555;
  max-width: 520px;
}




.hamburger {
  display: none;
  visibility: hidden;
}

.hamburger span {
  display: none;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Medium Screens (900px and below) */
@media (max-width: 900px) {
  .img1 {
    top: 20px;
    left: 100px;
  }

  .img2 {
    top: 100px;
    left: 180px;
  }

  .img3 {
    top: 50px;
    left: 340px;
  }

  .img4 {
    top: 150px;
    left: 490px;
  }
  .footer-container {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* Tablets (768px and below) */
@media (max-width: 768px) {
  .top-gradient {
    min-height: 50vh;
    padding: 80px 20px;
  }

  .logo {
    font-size: 18px;
  }

  .image-cluster {
    margin-top: 0;
    height: 200px;
  }

  .nav-links a {
    display: none;
  }

  .hero {
    min-height: 30vh;
  }

  .hero::before {
    display: none;
  }

  .hero-text {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .hero-text h1 {
    font-size: clamp(20px, 11vw, 34px);
    padding-bottom: 10px;
    padding-top: 40px;
    padding-left: 10px;
    padding-right: 10px;
    margin: 0;
  }

  .hero-text p {
    font-size: 15px;
  }

  .float {
    width: 110px;
    height: 150px;
  }

  .img1 {
    top: 20px;
    left: 90px;
  }
  .img2 {
    top: 100px;
    left: 180px;
  }
  .img3 {
    top: 50px;
    left: 270px;
  }

  .img4 {
    top: 90px;
    left: 370px;
  }
  .hero-exhibition h1 {
    font-size: 4.5rem;
  }

  .hero-exhibition p {
    font-size: 1.4rem;
  }

  header h2 {
    font-size: 3.6rem;
  }

  header p {
    font-size: 2rem;
  }

  .talks {
    min-height: 45vh;
    background-size: 130%;
  }

  .written h1 {
    font-size: 20px;
  }

  .site-header {
   
    z-index: 9999;
  }

  .nav-links {
    position: fixed !important;
    top: 0;
    right: 0;
    width: 60%;
    height: 100vh;
    background: rgb(255, 255, 255);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    display: flex !important;
    flex-direction: column !important;
    justify-content: center;
    align-items: center;
    gap: 15px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 9998;
  }

  .hamburger span {
    display: block;
    height: 3px;
    background: black;
    border-radius: 3px;
    transition: all 0.3s ease;
  }

  .nav-links.active {
    transform: translateX(0);
  }

  .nav-links a {
    color: #000 !important;
    font-size: 20px;
    font-weight: 500;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
  }

  .hamburger {
    display: flex !important;
    visibility: visible;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 22px;
    cursor: pointer;
    z-index: 10000;
  }

  .talks {
    background:
      url("/images/Vector-2.png") center / cover no-repeat,
      linear-gradient(180deg, #83969d 0%, #e5dbdb 65%);
    width: 100%;
  }

  .art-detail {
    grid-template-columns: 1fr;
  }

  .art-info h1 {
    font-size: 30px;
  }
}

/* Mobile (480px and below) */
@media (max-width: 480px) {
  .exgall h1 {
    font-size: 2.4rem;
  }
  .img1 {
    top: 20px;
    left: 15px;
  }

  .img2 {
    top: 100px;
    left: 100px;
  }

  .img3 {
    top: 50px;
    left: 180px;
  }
  .img4 {
    display: none;
  }

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

  .hero-exhibition h1 {
    font-size: 2.8rem;
  }

  .hero-exhibition p {
    font-size: 1rem;
  }

  .hero-exhibition a {
    padding: 1rem 2rem;
    font-size: 1.4rem;
  }

  header h2 {
    font-size: 2.4rem;
  }

  header p {
    font-size: 1.4rem;
  }

  .reveal {
    font-size: 1.8rem;
  }

  .load-more-btn {
    padding: 12px 30px;
    font-size: 16px;
  }
}

@media (max-width: 320px) {
  .top-gradient h1 {
    font-size: 2.4rem;
  }

  .top-gradient p {
    font-size: 1rem;
  }

  .img1 {
    top: 20px;
    left: 5px;
  }

  .img2 {
    top: 100px;
    left: 70px;
  }

  .img3{
    top: 50px;
    left: 130px;}
}
