html{
    margin: 0;
    padding: 0;
}

:root{
    --heightnav:50px;
    --fontfamily:"Montserrat", sans-serif;
    --font2:"PT serif caption";
    --pfont:"quicksand";
    --bordercolor:#008080;
}
body{
    margin: 0;
    padding: 0;
    font-family: var(--fontfamily);
}
#background-video {
    position: fixed;
    right: 0;
    bottom: 0;
    z-index: -1; /* Place behind other content */
    object-fit: cover; /* Ensure video covers the area */
    object-position: center;
    width: 100%;
    height: 100%;

}
.navbar {
  display: grid;
  grid-template-columns:2fr 1fr 1fr 1fr 1fr 2fr;
  align-items: center;
  padding: 12px 24px;
  background:transparent;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: background-color 0.3s ease,box-shadow 0.3s ease,border 0.3s ease;
}

.navbar a{
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: white;
    font-size: clamp(1.1rem,1.4rem,1.6rem);
    padding: 8px 12px;
    font-family: var(--pfont);
    transition: transform 0.2s ease;
}
.navbar.scrolled{
  background-color: rgb(63, 63, 63);
  border-bottom: 2px solid var(--bordercolor);
  box-shadow: 0 4px 8px rgba(0,0,0,0.6);
}
.navbar a:hover {
    transform: scale(1.2);
}

@media (max-width:700px) {
  .navbar {
    grid-template-columns: repeat(4, 1fr); /* second row has 4 columns */
    grid-template-rows: auto auto; /* 2 rows */
    padding: 4px 8px;
  }

  .navbar > :first-child {
    justify-self: center;
    grid-column: span 4; /* make first item full width of second row grid */
  }
  .navbar a{
    font-size: 1.2rem;
    padding: 4px 0px;
}
}
.map-btn {
  position: fixed;
  top: 110px;              /* under navbar */
  right: 10px;
  display: flex;
  align-items: center;
  gap:0;

  padding: 10px 15px;
  background:rgb(63,63,63);
  border: solid 2px var(--bordercolor);
  color: white;
  border-radius: 50px;
  text-decoration: none;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  /* animation polish */
  transition: all 0.3s ease;
  overflow: hidden;
}
@media(max-width:768px){
  .map-btn{
    top: 125px;
  }
}
.map-btn.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* text hidden by default */
.map-btn .text {
  max-width: 0;
  opacity: 0;
  white-space: nowrap;
  transition: all 0.3s ease;
  font-family: var(--pfont);
  font-size: clamp(1rem,1.2rem,1.4rem);;
}

/* hover reveals text */
.map-btn:hover .text {
  max-width: 100px;
  opacity: 1;
  
}

/* optional: expand button slightly on hover */
.map-btn:hover {
  padding-right: 18px;
  gap: 8px;
}


.flex1{
  scroll-margin-top: 15vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  font-family: var(--font2);
  color: white;
  padding: 10px;
  padding-top: 5vh;
  margin-bottom: max(20px,10%) ;  
  text-align: center;
}
#welcome{
  font-family: domine;
  font-size:clamp(1.3rem,2rem,3rem);
  color: rgba(255, 255, 255, 0.8);
}
#main{
  color: white;
}
.maps-btn {
    display: inline-block;
    padding: 12px 20px;
    width: fit-content;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--bordercolor);
    border-left: 1px solid var(--bordercolor);
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    transition: transform 0.2s ease, background-color 0.2s ease;
}
.maps-btn .icon{
  font-size: 20px;
  margin-right:10px;
}
.maps-btn:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

.social-icons {
  display: flex;
  gap: 3vw;
}

.social-icons a {
  display: flex;
  justify-content: center;
  align-items: center;
    background-color:rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--bordercolor);
    border-left: 1px solid var(--bordercolor);
    border-radius: 20px;
    text-decoration: none;
    width: 56px;
    padding: 2px;
    height: 56px;
    font-size: 2.1rem;
    color: #bbbbbb;
    transition: transform 0.3s ease,color 0.3s ease;
}

.social-icons a:hover {
  transform: scale(1.2);
  color: white;
}

@media(max-width:768px){
  .social-icons a{
    width: 40px;
    height: 40px;
    font-size: 1.6rem;
  }
}

.glass1{
  scroll-margin-top: 15vh;
    display: grid;
    grid-template-columns: 40% 60%;
    margin: 20px;
    background-color:rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 20px;
    align-items: center;
    justify-content: center;
    gap: 20px;
    color: white;
    font-family: var(--font2);
    font-size: 1.1rem;
    border-top: 1px solid var(--bordercolor);
    border-left: 1px solid var(--bordercolor);
    box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.2);
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
                

}
.glass2{
  scroll-margin-top: 15vh;
    display: grid;
    grid-template-columns: 60% 40%;
    margin: 20px;
    background-color:rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 20px;
    align-items: center;
    justify-content: center;
    gap: 20px;
    color: white;
    font-family: var(--font2);
    font-size: 1.1rem;
    border-top: 1px solid var(--bordercolor);
    border-left: 1px solid var(--bordercolor);
    box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.2);
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
                

}
.indika{
    height: 65vh;
    background-image: url(assets/Indika2.jpg);
    background-size: cover;
    background-position: center;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.2);
}
.place{
    height: 65vh;
    background-image: url(assets/gemcutting.png);
    background-size: cover;
    background-position: top;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.2);
}
#p1{
    text-align: justify;
    font-size:1.4em;
    font-family: var(--pfont)

}

@media (max-width:700px){
  .glass1{
    grid-template-columns: 100%;
    grid-template-rows:min-content;
  }
  .glass2{
    grid-template-columns: 100%;
    grid-template-rows:min-content;
  }
  #welcome{
    font-size: 1.4em;
  }
  .social-icons{
    scale: 1.2;
    margin: 20px;
    gap:3vw;
  }
#p1{
    text-align: justify;
    font-size:1.1em;
    font-family:var(--pfont);
  font-weight: 500;
}
#n_indika{
  font-size: 1.5rem;
}
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease, transform 1s ease;
  transition-delay: calc(var(--i) * 0.3s);
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}
#aboutbg{
  scroll-margin-top: 15vh;
  margin-bottom: -30px;
  background-color: rgb(192, 192, 192);
  padding: 45px 15px;
  background-image: 
    linear-gradient(to top, rgba(0,0,0,0.5), rgba(0,0,0,0));
  background-repeat: no-repeat;
  background-position: bottom;
  background-size: 100% 50%;
  text-align: center;
}
.flex{
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
  text-align: center;
}
.grid1{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 1fr;
  gap: 20px;
  margin: 20px;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
}
.dbox{
  font-family: var(--font2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 1fr;
  background-color: white;
  border-radius: 20px;
  padding: 10px;
  gap: 5px;
  box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease,scale 0.3s ease;
}
.dbox:hover{
  transform: translateY(-5px);
}
.dbox p{
  text-align: center;
  font-family: var(--pfont);
  color: rgb(71, 71, 71);
  font-weight: 500;
}
#h_1{
  font-family: var(--font2);
  font-style: normal;
  font-size: 2.5rem;
  color: black;
  text-align: center;
}
#p2{
  color: rgb(53, 53, 53);
  font-size: 1.2rem;
  text-align: center;
  font-family:var(--pfont);
  font-weight: 500;
}
#d1{
  font-size: 2.5rem;
  color: red;
}
#d2{
  font-size: 1.3rem;
  color: rgb(0, 0, 0);
}



.servicebg{
  scroll-margin-top: 15vh;
  background-color: rgb(255, 255, 255);
  padding: 20px;
  border-radius: 30px;
  position: relative;
  z-index: 3;
}

.services {
  list-style: none;
  padding: 0;
  margin: 20px;
  display:flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.services a{
    text-decoration: none;
    color: white;
    
}
.service {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 350px;
  height: 20vh;
  border-radius: 15px;
  padding: 20px;
  text-align: center;
  font-size: clamp(1.6rem,1.8rem,1.8rem);
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  background-size: cover;
  background-position: center; 
  transition:scale 0.3s ease;
  box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4);
}
.service:hover{
  scale: 1.05;
}
/* black overlay */
.service::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  transition: background 0.3s ease;
}
.service:hover::before{
  background: rgba(0, 0, 0, 0.7);
}
/* text above overlay */
.service span {
  position: relative;
  z-index: 1;
  font-family: var(--font2);
  font-weight:bold;
}

/* background images */
.gem-cutting {
  background-image: url("assets/gemcutting.png");
}

.carving {
  background-image: url("assets/3dcut.png");
}

.trading {
  background-image: url("assets/buying.jpg");
}

.setting {
  background-image: url("assets/stoneset.webp");
}

.custom {
  background-image: url("assets/jewel.webp");
}

@media (max-width:768px){
  .grid1{
  display: grid;
  grid-template-columns:100%;
  grid-template-rows: auto;
  margin: 0;
  }
  
  .dbox:hover{
  scale: 1.01;
  
}
.services { 
  flex-direction: column;
  flex-wrap: nowrap;
}
.service{
  height: 9vh;
  width: 80vw;
}
.service:hover{
  scale: 1.02;
}
}

#customerbg{
  background-image: 
    linear-gradient(to bottom, rgba(0,0,0,0.6), rgba(0,0,0,0));
  background-repeat: no-repeat;
  background-position: top;
  background-size: 100% 15%;
  margin-top: -30px;
  background-color: rgb(255, 255, 255);
  padding: 70px 0;
  padding-bottom: 20px;
  text-align: center;
  border-bottom-left-radius: 30px;
  border-bottom-right-radius: 30px;
  position: relative;
  z-index: 2;
  box-shadow: 0px 4px 4px 4px rgba(0, 0, 0, 0.2);
  text-align: center;

}
/* Layout & Animation */
:root {
  --card-w: 250px;       /* Individual card width */
  --card-h: 250px;       /* Individual card height */
  --gap: 15px;           /* Space between cards */
  --count: 20;           /* Number of unique images per bar */
  
  /* The exact distance to travel before resetting the loop */
  --offset: calc((var(--card-w) + var(--gap)) * var(--count));
}

.scroll-wrapper {
  width: 100%;
  overflow: hidden;
  padding: 10px 0;
}

.scroll-container {
  display: flex;
  gap: var(--gap);
  width: max-content;
}

/* LEFT ANIMATION */
.move-left {
  animation: scroll-l 100s linear infinite;
}
@keyframes scroll-l {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-1 * var(--offset))); }
}

/* RIGHT ANIMATION */
.move-right {
  animation: scroll-r 100s linear infinite;
  margin-bottom: 20px;
}
@keyframes scroll-r {
  0% { transform: translateX(calc(-1 * var(--offset))); }
  100% { transform: translateX(0); }
}

/* Card Styling */
.card {
  flex: 0 0 var(--card-w);
  height: var(--card-h);
  border-radius: 10px;
  background-size: cover;
  background-position: center;
  box-shadow: 0 4px 6px rgba(0,0,0,0.5);
}

.img-1 { background-image: url('assets/c1.jpg'); }
.img-2 { background-image: url('assets/c2.jpg'); }
.img-3 { background-image: url('assets/c3.jpg'); }
.img-4 { background-image: url('assets/c4.jpg'); }
.img-5 { background-image: url('assets/c5.jpg'); }
.img-6 { background-image: url('assets/c6.jpg'); }
.img-7 { background-image: url('assets/c7.jpg'); }
.img-8 { background-image: url('assets/c8.jpg'); }
.img-9 { background-image: url('assets/c9.jpg'); }
.img-10 { background-image: url('assets/c10.jpg'); }
.img-11 { background-image: url('assets/c11.jpg'); }
.img-12 { background-image: url('assets/c12.jpg'); }
.img-13 { background-image: url('assets/c13.jpg'); }
.img-14 { background-image: url('assets/c14.jpg'); }
.img-15 { background-image: url('assets/c15.jpg'); }
.img-16 { background-image: url('assets/c16.jpg'); }
.img-17 { background-image: url('assets/c17.jpg'); }
.img-18 { background-image: url('assets/c18.jpg'); }
.img-19 { background-image: url('assets/c19.jpg'); }
.img-20 { background-image: url('assets/c20.jpg'); }
.img-21{ background-image: url('assets/c21.jpg'); }
.img-22 { background-image: url('assets/c22.jpg'); }
.img-23 { background-image: url('assets/c23.jpg'); }
.img-24 { background-image: url('assets/c24.jpg'); }
.img-25 { background-image: url('assets/c25.jpg'); }
.img-26 { background-image: url('assets/c26.jpg'); }
.img-27 { background-image: url('assets/c27.jpg'); }
.img-28 { background-image: url('assets/c28.jpg'); }
.img-29 { background-image: url('assets/c29.jpg'); }
.img-30 { background-image: url('assets/c30.jpg'); }
.img-31 { background-image: url('assets/c31.jpg'); }
.img-32 { background-image: url('assets/c32.jpg'); }
.img-33 { background-image: url('assets/c33.jpg'); }
.img-34{ background-image: url('assets/c34.jpg'); }
.img-35 { background-image: url('assets/c35.jpg'); }
.img-36 { background-image: url('assets/c36.jpg'); }
.img-37 { background-image: url('assets/c37.jpg'); }
.img-38 { background-image: url('assets/c38.jpg'); }
.img-39 { background-image: url('assets/c39.jpg'); }
.img-40 { background-image: url('assets/c40.jpg'); }

@media(max-width:700px){
  .card {
  flex: 0 0 200px;
  height: 200px;
}
}
.flex4{
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin: 0 20px;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
}




:root{
  --endcolor:#008080;
}
#Contact{
  scroll-margin-top: 15vh;
  margin-top: -30px;
  padding-top: 10px;
  position: relative;
  z-index: 1;
  background-color:var(--endcolor);
  backdrop-filter: blur(10px);
  color: white;
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.2);
}
.grid3{
  display: grid;
  margin: 20px;
  grid-template-columns: 50% 50%;
  padding: 50px;
  align-items:flex-start;
  justify-content: left;
  gap: 50px;
}
.flex3{
  display: flex;
  align-items: flex-end;
  justify-content:center;
  padding: 10px;
  text-align: center;
  font-weight: 500;
}
#p3{
  font-family:var(--pfont);
  font-size: 1rem;
}
.h3{
  font-family: "PT Serif Caption", serif;
  font-weight: bold;
  font-style: normal;
  font-size: clamp(1.2rem,1.6rem,2rem);
  color: rgb(255, 255, 255);
  margin-bottom: 0.5em;
}
#p4{
  display: inline-block;
  width: 30vw;
  height: auto;
  font-family:var(--pfont);
  font-size:clamp(1rem,1.2rem,1.3rem);
  margin-bottom: 1em;
  font-weight: 500;
}
.social-links{
  display: flex;
  gap: 16px;
  align-items: center;
}

.social-links a{
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: var(--endcolor);
  border-radius: 50%;
  text-decoration: none;
  font-size: 18px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.social-links a:hover{
  transform: scale(1.1);
  background: #ffffff;
}
.contact-box{
  color: #ffffff;
  font-size: clamp(1rem,1.2rem,1.3rem);
  text-decoration: none;
  font-family: var(--pfont);
  font-weight: 500;
}

.contact-item{
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  
}

.contact-item i{
  width: 30px;
  color: #ffffff;
}

.contact-item a{
  color: inherit;
  text-decoration: none;
}
.contact-item a:hover{
  text-decoration: none;
}
@media (max-width:700px){
  .grid3{
    grid-template-columns: 100%;
    grid-template-rows:  40% 40%;
    padding-top: 40px;
    padding: 20px;
  }
  #p4{
  width: 90%;
}
#Contact{
  margin-top: -30px;
  padding-top: 20px;
  position: relative;
  z-index: 1;
  background-color:var(--endcolor);
}
}


