/* style.css */

:root{
  --bg:#f1f1f1;
  --card:#ffffff;
  --text:#111111;
  --muted:#6b6b6b;
  --border:#dddddd;
  --purple:#b894d8;
  --shadow:0 15px 40px rgba(0,0,0,0.08);
}

body.dark{
  --bg:#050505;
  --card:#0d0d0d;
  --text:#ffffff;
  --muted:#a4a4a4;
  --border:#222;
  --purple:#b58bd5;
  --shadow:0 15px 40px rgba(0,0,0,0.4);
}

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  background:var(--bg);
  color:var(--text);
  font-family:'Inter',sans-serif;
  overflow-x:hidden;
  transition:.4s;
}

/* SIDE GALLERY */

.side-gallery{
  position:fixed;
  top:0;
  width:95px;
  height:100vh;
  overflow:hidden;
  z-index:10;
}

.left-gallery{
  left:0;
}

.right-gallery{
  right:0;
}

.gallery-track{
  display:flex;
  flex-direction:column;
  gap:10px;
  animation:scrollUp 20s linear infinite;
}

.gallery-track.reverse{
  animation:scrollDown 20s linear infinite;
}

.gallery-track img{
  width:95px;
  height:130px;
  object-fit:cover;
}

@keyframes scrollUp{
  0%{
    transform:translateY(0);
  }
  100%{
    transform:translateY(-50%);
  }
}

@keyframes scrollDown{
  0%{
    transform:translateY(-50%);
  }
  100%{
    transform:translateY(0);
  }
}

/* CONTAINER */

.container{
  width:calc(100% - 220px);
  margin:auto;
  padding:20px 0 80px;
}

/* NAVBAR */

.navbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:20px 30px;
  
}

.logo{
  font-weight:800;
  letter-spacing:1px;
}

nav{
  display:flex;
  gap:40px;
}

nav a{
  text-decoration:none;
  color:var(--text);
  font-size:14px;
}

.primary-btn,
.hero-btn,
.theme-toggle{
  border:none;
  background:#111;
  color:white;
  padding:14px 28px;
  border-radius:12px;
  cursor:pointer;
  transition:.3s;
}

body.dark .primary-btn,
body.dark .hero-btn,
body.dark .theme-toggle{
  background:var(--purple);
  color:white;
}

/* THEME TOGGLE */

.theme-toggle{
  position:fixed;

  top:20px;
  right:20px;

  z-index:9999;

  border:none;
  outline:none;

  padding:14px 26px;

  border-radius:16px;

  background:#111;
  color:#fff;

  font-size:16px;
  font-weight:500;

  cursor:pointer;

  box-shadow:
    0 10px 25px rgba(0,0,0,0.15);
}

/* dark mode */

body.dark .theme-toggle{
  background:#b58bd5;
  color:#fff;
}

/* mobile */

@media(max-width:900px){

  .theme-toggle{
    top:16px;
    right:16px;

    padding:12px 20px;

    font-size:14px;
  }

}
/* HERO */


/* =========================
   HERO SECTION EXACT STYLE
   ========================= */

.hero{
  position: relative;
  min-height: 100vh;
  padding-top: 40px;
  overflow: hidden;
}

/* background blocks */

.hero::before{
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(0,0,0,0.03) 0%,
      rgba(0,0,0,0.03) 14%,
      transparent 14%,
      transparent 27%,
      rgba(0,0,0,0.03) 27%,
      rgba(0,0,0,0.03) 40%,
      transparent 40%,
      transparent 53%,
      rgba(0,0,0,0.03) 53%,
      rgba(0,0,0,0.03) 66%,
      transparent 66%,
      transparent 79%,
      rgba(0,0,0,0.03) 79%,
      rgba(0,0,0,0.03) 100%
    );
  z-index: -2;
}

body.dark .hero::before{
  background:
    linear-gradient(
      90deg,
      rgba(255,255,255,0.03) 0%,
      rgba(255,255,255,0.03) 14%,
      transparent 14%,
      transparent 27%,
      rgba(255,255,255,0.03) 27%,
      rgba(255,255,255,0.03) 40%,
      transparent 40%,
      transparent 53%,
      rgba(255,255,255,0.03) 53%,
      rgba(255,255,255,0.03) 66%,
      transparent 66%,
      transparent 79%,
      rgba(255,255,255,0.03) 79%,
      rgba(255,255,255,0.03) 100%
    );
}

/* circles */

.hero-bg-circle{
  position:absolute;
  border-radius:50%;
  background:rgba(0,0,0,0.03);
  z-index:-1;
}

body.dark .hero-bg-circle{
  background:rgba(255,255,255,0.03);
}

.circle1{
  width:430px;
  height:430px;
  top:-70px;
  left:-120px;
}

.circle2{
  width:380px;
  height:380px;
  right:-80px;
  top:100px;
}

/* heading */

.hero h1{
  font-size:92px;
  line-height:0.95;
  text-align:center;
  font-weight:800;
  letter-spacing:-5px;
  margin-top:40px;
  color:var(--text);
}

/* paragraph */

.hero p{
  max-width:620px;
  margin:22px auto 0;
  text-align:center;
  color:var(--muted);
  line-height:1.6;
  font-size:18px;
}

/* button */

/* FIX HERO BUTTON DISAPPEARING */

.hero-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;

  position:relative;
  z-index:20;

  margin:30px auto 0;

  padding:18px 42px;

  border:none;
  outline:none;

  left:550px;

  border-radius:14px;

  background:#111;
  color:#fff;

  font-size:16px;
  font-weight:500;

  cursor:pointer;

  box-shadow:
    0 12px 25px rgba(0,0,0,0.15);

  opacity:1 !important;
  visibility:visible !important;
}

body.dark .hero-btn{
  background:#b58bd5;
  color:#fff;
}

/* frames wrapper */

/* =========================
   HERO FRAMES EXACT LAYOUT
   ========================= */

/* HERO IMAGE */

.hero-art-image{
  width:100%;
  display:flex;
  justify-content:center;

  margin-top:70px;
}

.hero-art-image img{
  width:800px;
  max-width:100%;

  object-fit:contain;
  display:block;
}

/* mobile */

@media(max-width:900px){

  .hero-art-image{
    margin-top:40px;
  }

  .hero-art-image img{
    width:100%;
  }

}

/* mobile */

@media(max-width:1000px){

  .frames-wrapper{
    width:100%;
    height:auto;

    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:20px;
  }

  .gallery-text{
    display:none;
  }

  .frame-card{
    position:relative;

    left:auto !important;
    right:auto !important;
    bottom:auto !important;

    transform:none !important;
  }

}

/* features */

.features{
  margin-top:90px;

  display:grid;
  grid-template-columns:repeat(3,1fr);

  border-top:1px solid var(--border);
  background:rgba(255,255,255,0.2);
}

.feature{
  padding:35px 28px;
  display:flex;
  align-items:flex-start;
  gap:18px;
  border-right:1px solid var(--border);
  background:transparent;
  border-radius:0;
}

.feature:last-child{
  border-right:none;
}

.feature h4{
  font-size:20px;
  margin-bottom:5px;
}

.feature p{
  margin:0;
  text-align:left;
  font-size:14px;
}

/* icon */

.icon{
  width:52px;
  height:52px;
  border-radius:12px;
  background:#fff;

  display:flex;
  align-items:center;
  justify-content:center;

  font-size:24px;

  box-shadow:
    0 5px 15px rgba(0,0,0,0.05);
}

body.dark .icon{
  background:#111;
}

/* responsive */

@media(max-width:1100px){

  .hero h1{
    font-size:72px;
  }

}

@media(max-width:900px){

  .hero{
    min-height:auto;
    padding-bottom:60px;
  }

  .hero h1{
    font-size:54px;
    letter-spacing:-2px;
  }

  .hero p{
    font-size:15px;
    padding:0 20px;
  }

  .frames-wrapper{
    flex-wrap:wrap;
    height:auto;
    gap:20px;
    margin-top:50px;
  }

  .frame-card{
    width:140px;
    height:200px;
  }

  .frame-card:nth-child(1),
  .frame-card:nth-child(2),
  .frame-card:nth-child(3),
  .frame-card:nth-child(4),
  .frame-card:nth-child(5){

    transform:none;
  }

  .frame-card::before{
    display:none;
  }

  .features{
    grid-template-columns:1fr;
  }

  .feature{
    border-right:none;
    border-bottom:1px solid var(--border);
  }

}


/* SECTIONS */

.section-card{
  margin-top:60px;
  background:var(--card);
  border:1px solid var(--border);
  border-radius:30px;
  padding:70px;
}

.about{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:50px;
  align-items:center;
}

.about h2,
.exhibition h2,
.contact h2{
  font-size:60px;
  line-height:1;
}

.about p{
  color:var(--muted);
  margin-top:20px;
  line-height:1.8;
}

.about-points{
  margin:40px 0;
  display:flex;
  flex-direction:column;
  gap:24px;
}

.point{
  display:flex;
  gap:20px;
}

/* =========================
   ABOUT RIGHT IMAGES
   ========================= */

.about-right{
  position:relative;

  display:flex;
  justify-content:center;
  align-items:center;
}

/* main arch image */

.arch-image{
  position:relative;

  width:420px;
  height:620px;

  border-radius:220px 220px 0 0;

  overflow:visible;
}

.arch-image img:first-child{
  width:100%;
  height:100%;

  object-fit:cover;

  border-radius:220px 220px 0 0;

  border:6px solid #444;

  display:block;
}

/* flower pot image */

.arch-image img:last-child{
  position:absolute;

  width:180px;

  right:-90px;
  bottom:-20px;

  object-fit:contain;

  z-index:20;
}

/* dark mode */

body.dark .arch-image img:first-child{
  border-color:#e5d6f2;
}

/* responsive */

@media(max-width:1000px){

  .about-right{
    margin-top:40px;
  }

  .arch-image{
    width:100%;
    max-width:420px;
    height:auto;
  }

  .arch-image img:first-child{
    height:auto;
  }

  .arch-image img:last-child{
    width:120px;

    right:-20px;
    bottom:-20px;
  }

}

/* EXHIBITION */

.section-top{
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.cards{
  margin-top:50px;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:30px;
}

.ex-card{
  overflow:hidden;
  border-radius:24px;
  background:var(--bg);
  border:1px solid var(--border);
}

.ex-card img{
  width:100%;
  height:300px;
  object-fit:cover;
}

.card-content{
  padding:24px;
}

.card-content p{
  margin-top:10px;
  color:var(--muted);
}

.card-footer{
  margin-top:20px;
  display:flex;
  justify-content:space-between;
  font-size:14px;
  color:var(--muted);
}

/* CONTACT */

.contact{
  margin-top:60px;
  display:grid;
  grid-template-columns:1fr 1fr;
  overflow:hidden;
  border-radius:30px;
}

.contact-left{
  padding:60px;
  background:#e8dce8;
  color:black;
}/* =========================
   CONTACT LEFT SECTION
   ========================= */

.contact-left{
  position:relative;

  overflow:hidden;

  min-height:500px;

  padding:70px 60px;

  background:#e7dfe5;

  display:flex;
  align-items:flex-start;
  justify-content:flex-start;
}

.contact-content{
  position:relative;
  z-index:5;

  max-width:420px;
}

.contact-left small{
  font-size:18px;
  letter-spacing:1px;
}

.contact-left h2{
  font-size:72px;
  line-height:0.95;

  margin-top:18px;

  color:#111;
}

.contact-left p{
  margin-top:28px;

  font-size:24px;
  line-height:1.4;

  color:#5e5e5e;
}

.contact-info{
  margin-top:40px;

  display:flex;
  flex-direction:column;
  gap:22px;
}

.contact-info p{
  margin:0;

  font-size:20px;
  line-height:1.5;

  color:#111;

  font-weight:500;
}

/* image */

.contact-art{
  position:absolute;

  right:-20px;
  bottom:0;

  height:520px;

  display:flex;
  align-items:flex-end;
}

.contact-art img{
  height:100%;
  width:auto;

  object-fit:contain;
  display:block;
}

/* responsive */

@media(max-width:1000px){

  .contact-left{
    min-height:auto;

    padding:50px 30px 260px;
  }

  .contact-left h2{
    font-size:52px;
  }

  .contact-left p{
    font-size:18px;
  }

  .contact-info p{
    font-size:17px;
  }

  .contact-art{
    right:0;

    height:240px;
  }

}

.contact-right{
  padding:60px;
  background:var(--card);
}

.contact small{
  letter-spacing:1px;
}

.contact p{
  margin-top:20px;
  line-height:1.7;
}

.contact-info{
  margin-top:30px;
}

form{
  display:flex;
  flex-direction:column;
  gap:20px;
}

.row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
}

input,
textarea{
  width:100%;
  padding:18px;
  border-radius:14px;
  border:1px solid var(--border);
  background:transparent;
  color:var(--text);
  outline:none;
}

textarea{
  height:180px;
  resize:none;
}

.full-btn{
  width:100%;
}

/* RESPONSIVE */

@media(max-width:1200px){

  .hero h1{
    font-size:70px;
  }

  .cards{
    grid-template-columns:1fr;
  }

  .about{
    grid-template-columns:1fr;
  }

  .contact{
    grid-template-columns:1fr;
  }

}

@media(max-width:900px){

  .side-gallery{
    display:none;
  }

  .container{
    width:100%;
    padding:20px;
  }

  nav{
    display:none;
  }

  .hero h1{
    font-size:52px;
  }

  .features{
    grid-template-columns:1fr;
  }

  .frames-wrapper{
    flex-wrap:wrap;
  }

  .frame-card{
    width:140px;
    height:220px;
  }

  .about h2,
  .exhibition h2,
  .contact h2{
    font-size:42px;
  }

  .section-card{
    padding:40px 25px;
  }

  .row{
    grid-template-columns:1fr;
  }

}


