*,*::after,*::before{
    margin: 0;
    padding: 0;
    box-sizing: border-box
    
}
html, body {
      
    height: 100%; 
    width: 100%;      
  }

/*navbar section*/
#main-nav {
    width: 100%;
    background-color:#f7f5f2;
    display: flex;
    align-items: center;
    justify-content: space-between;  
    height: 70px;
    padding: 0 225px;                  
    position: fixed;
    top: 0;
    opacity: 1;
    font-family: 'Playfair Display', serif;
    z-index: 1000;
   transition: all 0.5s ease;
    
}
.nav-icons {
  display: flex;
  align-items: center;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-icon a {
  display: flex;
  align-items: center;
}

.nav-icon svg {
  width: 16px;
  height: 16px;
}

.divider {
  position: relative;
  padding-right: 20px;
}

.divider::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 18px;
  width: 1px;
  background-color: #dcdcdc;
}


/*scrolling  effect*/
#main-nav.scrolled {

    background: rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    justify-content: space-between;  
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    padding: 0 225px;
    position: fixed ;
    top: 0 ;
    z-index: 1000;
    
    font-family: 'Playfair Display', serif; 
    opacity: 0.98;
    
  }
/*  downlist menu */
#sec-nav {
    position: fixed; 
    top: 70px;      
    right: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0); 
    backdrop-filter: blur(15px);
    z-index: 2000;
    
    /*sliding-down  Animation Properties */
    max-height: 0;        
    opacity: 0;           
    overflow: hidden;     
    transition: all 0.5s ease;
    padding: 0 10px;     
}
#sec-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Class to trigger the open state */
#sec-nav.open {
    max-height: 500px;    
    opacity: 1;           
    padding: 20px 10px;   
}
#main-nav.scrolled + #sec-nav {
    background-color: rgba(255, 255, 255, 0.95);
}
#sec-nav a,#sec-nav li{
    color:gray;
    text-decoration: none;
    list-style-type: none;
    padding: 8px;
    font-family: 'Inter',sans-serif;
    font-weight: 300;
}
 
#sec-nav .icon-adjust a {
    display: flex;
    align-items: center; 
    gap: 10px;           
    text-decoration: none;
}
#sec-nav .icon-adjust svg {
    flex-shrink: 0;
}

#ul1,#ul2{
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#nav-indicator {
    position: absolute;
    bottom: 25px;
    height: 2px;
    background-color: rgb(184, 162, 125);
    left: 0;
    width: 0; 
    opacity: 0;
    pointer-events: none;
    
    
    transition: width 0.8s cubic-bezier(0.23,1,0.32,1), left 0.8s cubic-bezier(0.23,1,0.32,1), opacity 0.4s ease;
}

#logo {
    flex-shrink: 0; 
    font-size:x-large;                 
                
    color: rgb(51, 51, 51);
    cursor: pointer;
    white-space: nowrap;
}
#logo i {
    color: rgb(184, 162, 125);
}

/* Center menu */
#center {
    display: flex;
    gap: 8px;                        
    margin: 0;
    padding: 0;
    list-style: none;
    flex: 1 1 auto;                  
    justify-content: center;
}
#center li {
    padding: 0;                      
}
#center li a {
    display: block;
    padding: 10px 16px;               
    font-family: "Inter", sans-serif;
    font-weight: 300;
    font-size: 12px;
    letter-spacing: 1px;
    color: rgb(85, 85, 85);
    text-decoration: none;
    transition: color 0.3s;
    white-space: nowrap;
}

#center li a:hover ,#right li a:hover {
    color: black;
}

/* Right menu (login/signup) */
#right {
    display: flex;
    align-items: center;
    gap: 20px;                        
   
    list-style: none;
}
#right li a {
    display: flex;
    align-items: center;
    gap: 8px;                        
    font-family: "Inter", sans-serif;
    font-weight: 300;
    font-size: 12px;
    color: rgb(85, 85, 85);
    text-decoration: none;
    transition: color 0.3s;
    white-space: nowrap;
}

#right svg {
    width: 18px;
    height: 18px;
    fill: currentColor;               
}

/* Hamburger icon (hidden on large screens) */
#list {
    display: none;
    width: 32px;
    height: 26px;
    cursor: pointer;
    color: rgb(85, 85, 85);
}


/* Mobile breakpoint */
@media (max-width: 1232px) {
  #main-nav,#main-nav.scrolled {
    padding: 0px 20px;
  }}
@media (max-width: 900px) {
    #main-nav,#main-nav.scrolled {
      padding: 0px 20px;
    }
    #center, #right {
        display: none;                
    }
    #list {
        display: block;               
    }
    #logo {
        font-size: 1.6rem;            
    }
}


/*background section*/
#bg {
    background: url("../assets/images/portraits/image1.webp") center/cover no-repeat;
    height: calc(100vh - 70px);
    height: calc(100svh - 70px); 
    margin-top: 70px;
}
#mask{
    min-height: 90vh;
    background: linear-gradient(to right,rgba(39, 39, 44, 0.797),rgba(0,0,0,0));
    display: flex;
    align-items: center;
    justify-content: flex-start;   
}

#para{
    margin-left: clamp(20px, 15vw, 380px);
   
   max-width: 700px;
    display: flex;
    flex-direction: column;
    gap: 20px;
  
}
#est{
    color: rgb(201, 180, 138);
    font-family: "Inter", sans-serif;
    letter-spacing: 2px;
    font-weight: 300;
    font-size: small;
}
#title{
color: rgb(255, 255, 255);
font-size: clamp(2.5rem, 10vw, 6rem);
    line-height: 1;
}
#desc{
    color: #ffffffb3;
    font-family: "inter", sans-serif;
    font-size: larger;
    font-weight: 300;
    position: relative;
    max-width: 65%;
    width: 100%;
    line-height:1.5;
    
}
/*button to gallery*/
#explore{
    position: relative;
    font-family: "Inter", sans-serif;
    font-weight: 500;
    padding: 25px ;
    height: 40px;
    display: flex;
   justify-content: center;
   align-items: center;
   cursor: pointer;
    background-color:rgb(184, 162, 125) ;
    color: rgb(51, 51, 51);
    border: none;
    letter-spacing: 1px;
    transition: all .3s ;
    max-width: fit-content;
}
#explore svg{
margin-bottom:10px;
flex-shrink: 0;

}
#explore:hover{
    background-color: rgb(200, 177, 137);
}

/* collection*/
#collection {
    padding: clamp(60px, 8vw, 120px) 0;
    background-color:#f7f5f2;
   
  }
  
  /*  CONTAINER */
  .container {
    width: min(1200px, 90%);
    margin: 0 auto;
   
  }
  
  /* TOP ROW */
  .collection-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
   
  }
  
  .subtitle {
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: rgb(197, 178, 138);
    margin-bottom: 10px;
    
  }
  
  .title {
    font-family: "Playfair Display", serif;
    font-size: clamp(1.8rem, 2vw, 2.5rem);
    font-weight: 200;
    color: rgb(51, 51, 51);
    
  }
  
  /* BUTTONS */
  .buttons {
    display: flex;
    gap: 15px;
  }
  
  .nav-btn {
    width: 45px;
    height: 45px;
    border: 1px solid rgb(232, 230, 225 );
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
   
  }
  
  .nav-btn:hover {
    background: #e8e4dd;
  }
  
  /* CARDS  */
  .cards {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 30px;
    padding-bottom: 10px;   
    scroll-behavior: smooth; 
    -webkit-overflow-scrolling: touch; 
   
  }
  
  .cards::-webkit-scrollbar {
    display: none; 
  }
  
  
  .card {
    flex: 0 0 300px;          
    scroll-snap-align: start;
   
  }
  
  
  @media (min-width: 768px) {
    .card {
      flex-basis: 300px;
    }
  }
  
  @media (min-width: 1024px) {
    .card {
      flex-basis: 320px;
    }
  }
  
  
  
  .card-img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 4;   
  }
  .card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;      
    display: block;
    transition: transform 0.8s ease;
    cursor: pointer;
  }
  
  .card:hover img {
    transform: scale(1.05);
  }
  
  /* BADGE */
  .badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgb(51, 51, 51);
    color:rgb(255, 255, 255);
    font-size: 0.7rem;
    padding: 5px 10px;
    letter-spacing: 1px;
   
  }
  
  /* INFO */
  .card-info {
    padding-top: 15px;
  }
  
  .art-title {
    font-family: "Playfair Display", serif;
    font-size: 1rem;
    margin-bottom: 5px;
    color: rgb(51, 51, 51);
  }
  
  .artist {
    font-size: 0.9rem;
    color:rgb(85, 85, 85)
  }
  .price{
    font-size: 0.9rem;
    color: rgb(184, 162, 125);
    padding:  10px 0px;
  }

  #view-more{
    margin-top: 40px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    font-family: 'playfair Display',serif;
    
  }
  #view-more p a,#view-more p  svg{
   text-decoration: none;
   color: rgb(85, 85, 85);
   
  }
  #view-more p  svg{
    margin-top: 2.5px;
  }
  #view-more p:hover{
    border-bottom:1px solid rgb(0, 0, 0);
  }
  #view-more p{
    border-bottom:0.5px solid rgba(0, 0, 0, 0.234);
    display: flex;
    gap: 5px;
    transition: all 0.4s ease;
    letter-spacing: 1px;
  }

  /*expertise part*/
#expertise , #art-facts , #testimonials{
    padding: clamp(60px, 8vw, 120px) 0;  
}
#expertise{
  background-color: white;
}
.exp-container , .facts-container ,.testimonials-container{
    width: min(1200px, 90%);
    margin: 0 auto;
   
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    gap: 30px;
  
}
#exp-headings , #facts-headings , #testimonials-headings{
   
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;

}
#exp-subtitle , #facts-subtitle , #testimonials-subtitle{
    font-family: 'Inter',sans-serif;
    font-size: small;
    font-weight: 400;
    color: rgb(197, 178, 138);
    letter-spacing: 1px;
}
#exp-title , #facts-title , #testimonials-title{
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 2.5vw, 2.7rem);
  font-weight: 400;
  letter-spacing: 0.5px;
    color: rgb(51, 51, 51);
}

#icons {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 60px 40px;
  width: 100%;
  margin-top: 40px;
  align-self: stretch;
}

#icons > * {
  min-width: 0;
}
.icon-border{
  border: 2px solid rgb(232, 230, 225);
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.3s ease;
}
.icon svg{
    color: rgb(85, 85, 85);
    transition: 0.3s ease;
    
}

.icon{
  
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
    padding: 10px;
   transition: 0.3s ease;
}

.icon:hover .icon-border{
  border-color: rgb(197, 178, 138);
}

.icon:hover  svg{
  color: rgb(197, 178, 138);
 
}


.icon .icon-name{
    color: rgb(51, 51, 51);
}
.icon .icon-disc{
    text-align: center;
    max-width: 75%;
    font-family:'Inter',sans-serif;
    font-weight: 300;
    font-size: 0.9rem;
    color: rgb(85, 85, 85);
}
@media (max-width: 900px) {
  #icons {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  #icons {
    grid-template-columns: 1fr;
  }
}
 /* Art facts section*/
#art-facts{
  background-color: #f7f5f2;
}
#facts{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px 50px;   
  width: 100%;
  
  margin-top: 40px;}

.fact-card {
 border:2px solid #9022221a;
 display: flex;
 gap: 10px;
 flex-direction: column;
 padding: 30px;
 
}
.number{
  color: #b8a27d33;
  font-family: 'playfair display',serif;
  font-size: 3.5rem;
}
.fact{
  color: rgb(51, 51, 51);
  font-family: 'playfair display',serif;
  font-size: 1.3rem;
}
.fact-disc{
  color: rgb(85, 85, 85);
  font-family: 'Inter',sans-serif;
  font-size: small;
  font-weight: 300;
}

/* testimonials*/
#testimonials{
  background-color: rgb(51, 51, 51);
}
#testimonials-title{
  color: rgb(255, 255, 255);
}

#testimonials-cards{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  width: min(1200px, 90%);
  margin: 60px auto 0;
}
.comma{
 
  color: #c9b48a4d;
}
.stars svg{
  width: 14px;
  height: 14px;
  color: rgb(201, 180, 138);
}
  .testimonials-card{
    border: 1px solid #ffffff1a;
    padding: 40px;
    min-height: 280px;   
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 30px;
  }
  .test{
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.8;
    color: #ffffffcc;
    font-weight: 300;
  }
  .test-name{
    font-size: 0.95rem;
    color: rgb(255, 255, 255);
    font-family: 'Inter', sans-serif;
  }
  
  .test-country{
    font-size: 0.8rem;
    color: #ffffff80;
    font-family: 'Inter', sans-serif;
  }
.rating{
  display: flex;
  flex-direction: column;
  gap: 6px;
}

@media (max-width: 750px){
  #testimonials-cards{
    grid-template-columns: 1fr;
  }
}

/*begin your collection*/
#begin{
  padding: clamp(60px, 8vw, 120px) 0;  
  background-color: #f7f5f2 ;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
#begin-container{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  
  gap: 20px;
}
.begin-title{
  font-family: 'playfair display',serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: rgb(51, 51, 51);

}
.begin-disc{
  font-family: 'Inter',sans-serif;
  font-size: clamp(0.85rem, 1.2vw, 1rem);
  font-weight: 300;
  text-align: center;
  color: rgb(85, 85, 85);
}
#browse{
 
  font-family: "Inter", sans-serif;
  font-weight: 500;
  padding: 25px ;
  height: 40px;
  display: flex;
 justify-content: center;
 align-items: center;
 cursor: pointer;
  background-color:rgb(51, 51, 51) ;
  color:rgb(255, 255, 255);
  border: none;
  letter-spacing: 1px;
  transition: all .3s ease;
  max-width: fit-content;
}
#browse svg{
margin-bottom:10px;
flex-shrink: 0;
}
#browse:hover{

  background-color:rgba(51, 51, 51, 0.856);
}

  /*appear effect*/

  /* Initial hidden state */
#para,
.collection-top,
.card ,
#icons,
.fact-card ,
#testimonials-cards,
#begin-container,
.stats-grid,
.analytics-section,
.orders-section{
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Visible state  */
#para.visible,
.collection-top.visible,
.card.visible,
#icons.visible,
.fact-card.visible,
#testimonials-cards.visible,
#begin-container.visible,
.stats-grid.visible,
.analytics-section.visible,
.orders-section.visible {
  opacity: 1;
  transform: translateY(0);
}