:root{
  --cyan: #17a2b8;
  --color-primary: #1a2454;
    --color-primary-variant: #ab840f;
    --color-black: #000;
    --color-dark: #0C1334;
    --color-white: #fff;
    --color-light: rgba(4, 9, 30,0.7);
    --font-family-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; 
}
* {
  margin: 0;
  padding: 0;
  outline: 0;
  border: 0;
  text-decoration: none;
  list-style: none;
  box-sizing: border-box;
}
a {
  text-decoration: none;
}
ul{
  list-style: none;
}
body{
  font-family: "Jost", sans-serif;
}
/*- NAVBAR-*/
.navbar{
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  justify-content: space-between;
  padding: 10px;
  transition: 0.6s ease;
  z-index: 100000;
}
.navbar.sticky{
  padding: 5px 30px;
  background-color: var(--color-primary);
}
.navbar a{
  position: relative;
  font-family: "Jost", sans-serif;
  font-weight: 500;
  color: var(--color-primary-variant);
  transition: 0.6s ease;
}
.navbar a:hover{
  color: var(--cyan);
  transition: all 0.3s ease;
}
.nav-link{
  position: relative;
  list-style: none;
  font-weight: 500px;
  display: flex;
  align-items: center;
  transition: 0.6s;
}
.nav-link li{
  position: relative;
  margin: 0 30px;
}
.active{
  border-bottom: 2px solid var(--color-primary-variant);
}
header {
  width: 100%;
  height: 100vh;
  background-image: linear-gradient(rgba(4, 9, 30,0.7),rgba(4, 9, 30,0.7)),url(gallery/frontpage.jpg);
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.header-content{
  margin-bottom: 150px;
  color: white;
  text-align: center;
}
.header-content h1{
  font-size: 7vmin;
  margin-top: 50px;
  margin-bottom: 10px;
}
.header-content h3{
  font-size: 3vmin;
}
.line{
  width: 150px;
  height: 4px;
  background: var(--color-primary-variant);
  margin: 10px auto;
  border-radius: 5px;
}
.ctn{
  padding: 8px 15px;
  background-color: #ab840f;
  border-radius: 30px;
  color: #fff;
}
.ctn:hover{
  color: var(--color-primary-variant);
  background-color: var(--color-primary);
  transition: all 0.3s ease;
}
.menu-btn{
  position: absolute;
  color: white;
  top: 30px;
  right: 30px;
  width: 40px;
  cursor: pointer;
  display: none;
}
/*mobile*/
@media only screen and (max-width:850px){
  .menu-btn{
    display: block;
  }
  .navbar{
    padding: 0;
  }
  .logo{
    position: absolute;
    top: 30px;
    left: 30px;
  }
  .nav-link{
    flex-direction: column;
    width: 100px;
    height: 100vh;
    justify-content: center;
    background-color: var(--color-primary);
    margin-top: -900px;
    transition: all 0.8s ease;
  }
  .mobile-menu{
    margin-top: 0px;
    border-bottom-right-radius: 10%;
  }
  .nav-link li{
    margin: 30px auto;
  }
  .navbar.sticky{
    padding: 0px 5px;
    height: 120px;
  }
}
 /* ======= List ======= */
 .card {
  padding-top: 0px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  max-width: 270px;    
  margin: auto;
  border-radius: 11px;
  text-align: center;
  font-family: "Jost", sans-serif;
}
.card a {
  border: none;
  outline: 0;
  padding: 12px 15px;
  color: black;
  background-color: transparent;
  text-align: center;
  cursor: pointer;
  width: 100%;
  font-size: 18px;
}

.card a:hover {
  padding: 12px 15px;
  border: 0.3px solid #ab840f;
  background: #ab840f;
  color: var(--color-white);
  transition: 0.3s;
}
.card_container {
  display: grid;
 grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
 gap: 10px;
}

.price {
  color: grey;
  font-size: 22px;
}
.hero-btn{
  border: none;
  outline: 0;
  display: inline-block;
  padding: 8px;
  color: white;
  background-color: transparent;
  border-radius: 12px;
  text-align: center;
  cursor: pointer;
  width: 100%;
  font-size: 18px;
}
.hero-btn:hover{
  border: 1px solid #ab840f;
  background: #ab840f;
  transition: 0.5s;
  color: var(--color-dark);

}
.text{
  padding: 10vh 20vh;
  text-align: center;
}
.text h1, h4{
  font-weight: 800px;
  text-align: justify;
}
/**== News ==**/
.news {
  padding-top: 0px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  max-width: 450px;    
  margin: auto;
  text-align: center;
  font-family: "Jost", sans-serif;
}

.price {
  color: grey;
  font-size: 22px;
}

.news a {
  border: none;
  outline: 0;
  padding: 12px;
  color: black;
  background-color: transparent;
  text-align: center;
  cursor: pointer;
  width: 100%;
  font-size: 18px;
}

.news a:hover {
  border: 0.3px solid #ab840f;
  background: #ab840f;
  color: var(--color-white);
  transition: 0.3s;
}
.news_container {
  display: grid;
 grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
 gap: 25px;
}

/* ======================== Footer ========================= */
footer {
  background-color: var(--color-primary);
  margin-top: 8rem;
  padding: 5rem 2rem; /* Increased padding for top/bottom and added side padding */
  font-size: 0.9rem;
  color: var(--color-primary-variant);
}

footer .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5rem;
  max-width: 1200px; /* Example max-width */
  margin: 0 auto; /* Center the container */
}

footer .container h4 {
  color: var(--color-primary-variant);
  margin-bottom: 1.6rem;
}

footer .copyright {
  text-align: center;
  margin-top: 4rem;
  padding: 1.2rem 0;
  color: var(--color-primary-variant);
  border-top: 1px solid var(--color-white);
}

/* Responsive Footer Styling */
@media (max-width: 850px) {
  footer .container {
    grid-template-columns: repeat(2, 1fr); 
    gap: 2rem; 
  }
}

@media (max-width: 500px) {
  footer .container {
    grid-template-columns: 1fr; 
    gap: 2rem; 
    padding: 0 1rem; 
  }

  footer .copyright {
    margin-top: 2rem; 
  }
}
/* ======================== Loader ========================= */

#loader{
  background: #ffff url(gallery/animation3.gif) no-repeat center center;
  background-size: 8%;
  height: 100vh;
  width: 100%;
  position: fixed;
  z-index: 100;
}
@media (max-width: 650px) {
  #loader{
    background-size:  #ffff url(gallery/animation3.gif) no-repeat center center;
    background-size: 8%;
    height: 100vh;
    width: 100%;
    position: fixed;
    z-index: 100;
  }
}

