* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Cormorant SC", sans-serif;

}

:root {
  --primary-color: #c90000;
  --dark-color: #313131;
  --light-color: white;
  --container-normal: 1100px;
  --container-wide: 1400px;
  --container-narrow: 900px;
}

body {
  line-height: 1.6;
  color: var(--dark-color);
}

p{
  font-size: 1.1rem;
  font-weight: 500;
}

a {
  text-decoration: none;
  color: var(--dark-color);
  font-family: "Cinzel Decorative", serif;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
}

/* Utility Classes */
.bg-light {
  color: white;
}

.bg-dark .bg-light {
  padding: 0 0.3rem;
}

#current {
  background-color: var(--dark-color);
  color: var(--light-color);

  /* &:hover{
    background-color: var(--primary-color);
    color: var(--light-color);
  } */
}

.btn,
.current {
  display: block;
  padding: 0.5rem 1rem;
  background: transparent;
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  border-radius: 5px;
  border: none;
}

.btn:hover {
  background-color: var(--dark-color);
  color: #fff;
}

.hero__button {
  margin: 1rem;
}

.hero__button-btn {
  display: inline-block;
  background-color: rgb(201, 0, 0);
  color: var(--light-color);
  padding: 0.4rem 1rem;
  border-radius: 0.5rem;
  margin: 0 0.3rem;
  text-transform: uppercase;
  font-weight: bold;
  font-size: small;
  

  &:hover {
    background-color: var(--dark-color);
    color: #fff;
    transition: 0.5s ease-in-out;
  }
}

.hero__socials-btn {
  display: inline-block;
  font-size: xx-large;
}

i:hover {
  color: var(--primary-color);
  transition: 0.3s ease-in-out;
}

.visually-hidden {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

/* Container */
.container {
  max-width: var(--container-normal);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-lg {
  max-width: var(--container-wide);
}

.container-sm {
  max-width: var(--container-narrow);
}

/* Hero */
.hero {
  height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-color: #eee;
}

.hero h2 {
  font-size: 4rem;
  line-height: 1.5;
  font-weight: normal;
  font-weight: 500;
}

/* Gallery */

.gt {
  margin-bottom: 1px solid #aaa;
  margin-bottom: 4rem;
}

.gs {
  border-top: 1px solid #aaa;
  margin-bottom: 4rem;
}

h1 {
  text-align: center;
  margin: 1.5rem 0;
  font-weight: 400;
  font-size: 2.7rem;
  font-weight: 500;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.gallery-item {
  border-radius: 10px;
}

.gallery-item img {
  border-radius: 10px;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-item:hover {
  opacity: 0.9;
}

/* tags */
.tag,
.tag-item {
  background-color: none;
}

button.tag__item {
  padding: 0.4rem 1rem;
  justify-content: space-between;
  border-radius: 25px;
  cursor: pointer;
  background-color: transparent;
  border: 1px solid var(--primary-color);
  margin: 0.6rem 0.3rem;
  font-family: cormorant, sans-serif;
  font-size: 1rem;
  font-weight: 500;

  &:hover {
    transition: 0.4s ease-in-out;
    background-color: var(--dark-color);
    color: var(--light-color);
  }
}
/* Footer */
.footer {
  padding: 2rem 1.5rem;
  margin-top: 2rem;
  background-color: #eee;
}

.footer .footer-flex {
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-text p{
  font-weight: 500;
}

/* dropdown */
ul {
  display: inline;
  text-align: center;
}

ul li {
  display: inline-block;
  position: relative;
}

ul li a {
  display: block;
  background-color: rgb(201, 0, 0);
  color: var(--light-color);
  padding: 0.4rem 1rem;
  border-radius: 0.5rem;
  margin: 0 0.3rem;
  text-transform: uppercase;
  font-weight: bold;
  font-size: small;
}

ul.dropdown li {
  display: block;
}

ul li a:hover {
  background-color: var(--dark-color);
  color: var(--light-color);
  transition: 0.6s ease-in-out;
}

ul.dropdown {
  width: 100%;
  position: absolute;
  z-index: 999;
  display: none;
}

ul li:hover ul.dropdown {
  display: block;
}

/* Contact */
.contact {
  padding: 3rem 0 4rem;
}

.form-group {
  margin: 2rem 0;
}

.contact input,
.contact textarea {
  border: none;
  border-bottom: 1px #aaa solid;
  width: 100%;
  font-family: inherit;
  font-size: inherit;
  padding-bottom: 1rem;
}

.contact textarea {
  height: 200px;
}

.contact input:focus,
.contact textarea:focus {
  outline: 0;
}

.contact {
  width: 100%;
}

/* catalogue, blog */
p.placeholder {
  justify-content: center;
  align-items: center;
  text-align: center;
  margin: 3rem 0;
}

/* Media Queries */
@media (max-width: 768px) {
  .header .header-flex,
  .footer .footer-flex,
  .services .services-flex,
  .team .team-flex {
    flex-direction: column;
    gap: 1.5rem;
  }

  ul li a{
    margin-top: 1rem;
  }
}

@media (max-width: 635px) {
  .header .header-flex,
  .footer .footer-flex,
  .services .services-flex,
  .team .team-flex {
    flex-direction: column;
    gap: 1.5rem;
  }

  ul li a{
    margin-top: 1rem;
  }

  .hero{
    height: 350px;
  }
}
