/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Montserrat", Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
}

section {
  padding: 80px 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

h1,
h2,
h3,
h4 {
  font-weight: 700;
  margin-bottom: 20px;
  color: #5984ac;
}

h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 50px;
}

h3 {
  font-size: 1.8rem;
}

p {
  margin-bottom: 15px;
}

a {
  text-decoration: none;
  color: #fff;
  transition: all 0.3s ease;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: #5984ac;
  color: white;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.btn:hover {
  background-color: #b4caa5;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.owl-dots {
  text-align: center;
  margin-top: 40px;
}

.owl-dot {
  height: 15px;
  width: 15px;
  border-radius: 50%;
  cursor: pointer;
  outline: none;
  margin: 0 5px;
  border: 2px solid #000 !important;
  transition: all 0.3s ease;
}

.owl-dot:hover,
.owl-dot.active {
  background-color: #000 !important;
}

.owl-prev,
.owl-next {
  position: absolute;
  top: 45%;
  transform: translate(-50%, -50%);
}

.owl-prev {
  left: 40px;
}

.owl-next {
  right: 20px;
}

#popup-open-btn,
#popup-open-btn-1,
#popup-open-btn-2 {
  display: inline-block;
  padding: 12px 30px;
  background-color: #5984ac;
  color: white;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

#popup-open-btn:hover,
#popup-open-btn-1:hover,
#popup-open-btn-2:hover {
  background-color: #b4caa5;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Social Icons */
.contact.fa-instagram,
.contact.fa-whatsapp {
  transition: color 0.2s;
  color: #000;
  border-radius: 50%;
  display: flex;
  flex-flow: column wrap;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  border-radius: 10px;
  margin: 10px 5px;
  padding: 0;
  border: solid 1px #fff;
  font-size: 30px;
}

.contact.fa-instagram:hover,
.contact.fa-whatsapp:hover {
  color: #fcfcfc;
  background-color: #000;
  border: none;
  text-decoration: none;
}

.contact-1.fa-instagram,
.contact-1.fa-whatsapp {
  transition: color 0.2s;
  color: #000;
  border-radius: 50%;
  display: flex;
  flex-flow: column wrap;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  border-radius: 10px;
  margin: 10px 5px;
  padding: 0;
  border: solid 1px #fcfcfc;
  font-size: 30px;
}

.contact-1.fa-instagram:hover,
.contact-1.fa-whatsapp:hover {
  color: #000;
  background-color: #000;
  border: none;
}

.icon-box {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-evenly;
  align-items: center;
  margin: 0;
}

a:link,
a:visited,
a:hover,
a:active {
  text-decoration: none;
}
/* End Social Icons */

/* Header Styles */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

.logo {
  font-size: 1.8rem;
  font-weight: 800;
  color: #b4caa5;
}

/* Menu Button */
.menu-btn {
  width: 30px;
  height: 25px;
  position: relative;
  cursor: pointer;
  z-index: 1001;
}

.menu-btn span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: #b4caa5;
  border-radius: 3px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: 0.25s ease-in-out;
}

.menu-btn span:nth-child(1) {
  top: 0px;
}

.menu-btn span:nth-child(2) {
  top: 10px;
}

.menu-btn span:nth-child(3) {
  top: 20px;
}

/* Menu Button Animation */
.menu-btn.open span:nth-child(1) {
  top: 10px;
  transform: rotate(135deg);
}

.menu-btn.open span:nth-child(2) {
  opacity: 0;
  left: -60px;
}

.menu-btn.open span:nth-child(3) {
  top: 10px;
  transform: rotate(-135deg);
}

/* Full Screen Menu Overlay */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  visibility: hidden;
  opacity: 0;
  transition: all 0.4s ease;
}

.menu-overlay.open {
  visibility: visible;
  opacity: 1;
}

.menu-overlay-content {
  text-align: center;
}

.menu-overlay-content a {
  display: block;
  font-size: 2.5rem;
  color: white;
  margin: 20px 0;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.3s ease;
}

.menu-overlay.open .menu-overlay-content a {
  transform: translateY(0);
  opacity: 1;
  transition-delay: 0.2s;
}

.menu-overlay-content a:hover {
  color: #b4caa5;
}

/* Hero/Carousel Section */
#hero {
  position: relative;
  height: 100vh;
  padding: 0;
  overflow: hidden;
}

.carousel {
  width: 100%;
  height: 100%;
  position: relative;
}

.carousel-slides {
  width: 100%;
  height: 100%;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease;
  background-size: cover;
  background-position: center;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  z-index: 2;
  width: 80%;
  max-width: 800px;
}

.carousel-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.carousel-content h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  color: white;
}

.carousel-content p {
  font-size: 1.3rem;
  margin-bottom: 30px;
}

.carousel-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  margin: 0 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-dot.active {
  background-color: white;
}
/* End Hero/Carousel Section */

/* About Section */
#about {
  background-color: #f9f9f9;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.about-text {
  flex: 1;
}

.about-image {
  flex: 1;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}
/* End About Section */

/* Banner Section */
.banner {
  position: relative;
  padding: 120px 0;
  background-image: url("img/instagram/4\ 1.jpg");
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  height: 700px;
}

.banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
}

.banner-content {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.banner-content h2 {
  color: white;
}
/* End Banner Section */

/* Event Section */
.event-description {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
}

.event-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.event-card {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.event-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.event-card-content {
  padding: 25px;
}

.event-date {
  display: block;
  font-size: 1.3rem;
  font-weight: 700;
  color: #5984ac;
  margin-bottom: 10px;
}

.event-time {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 20px;
}

.popup {
  position: fixed;
  top: 50%;
  left: 0px;
  width: 0%;
  height: 0%;
  transform: translateY(-50%);
  background: #fcfcfc;
  overflow: hidden;
  z-index: 1000;
}

.content {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-flow: column wrap;
  padding: 0;
}

.popup .content {
  padding: 10px;
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  opacity: 0;
}

.popup .content .popup-close-btn {
  position: absolute;
  top: 25px;
  right: 5px;
  width: 40px;
  height: 40px;
  text-align: center;
  line-height: 35px;
  color: #000;
  font-size: 30px;
  cursor: pointer;
  border-radius: 50%;
}

.popup .content .popup-close-btn:hover {
  background: #000;
  color: #fcfcfc;
}

.popup .content p {
  margin-bottom: 10px;
  color: #000;
  text-align: center;
  font-size: 20px;
  font-family: "Work Sans", sans-serif;
  /* font-weight: 500; */
}

.popup.active {
  animation: popupAnimation 1500ms ease-in-out forwards;
}

.popup.active .content {
  opacity: 1;
  transition: all 300ms ease-in-out 1500ms;
}

@keyframes popupAnimation {
  0% {
    width: 0%;
    height: 0%;
  }

  50% {
    width: 100%;
    height: 2px;
  }

  100% {
    width: 100%;
    height: 100%;
  }
}
/* End Event Section */

/* Team Section */
#team {
  background-color: #f9f9f9;
}

.team-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.team-card {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.team-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.team-content {
  padding: 25px;
}

.team-name {
  font-size: 1.5rem;
  margin-bottom: 5px;
}

.team-role {
  color: #b4caa5;
  font-weight: 600;
  margin-bottom: 15px;
}
/* End Team Section */

/* Follow Us*/
#follow-me {
  width: 100%;
  margin-top: 80px;
}

.container-1 {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-flow: column wrap;
  display: block;
  overflow: hidden;
}

.carousel-1 {
  display: block;
  width: 100%;
  margin-top: 80px;
  white-space: nowrap;
  position: inherit;
  z-index: -1;
}

.owl-carousel {
  margin: auto 0;
}

.item-client {
  margin: 60px auto 0;
  width: 300px;
  height: 350px;
  border-radius: 8px;
  display: block;
  position: relative;
}

#client-1 {
  background-image: url("./img/instagram/IMG_8077-歆舞界-记忆之所-memory\ house-剧照-德萨北京.JPG");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#client-2 {
  background-image: url("./img/instagram/Memory\ House3，Beijing.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#client-3 {
  background-image: url("./img/instagram/Memory\ House4，Beijing.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#client-4 {
  background-image: url("./img/instagram/Memory\ House5，Beijing.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#client-5 {
  background-image: url("./img/instagram/Memory\ House6，Beijing.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#client-6 {
  background-image: url("./img/instagram/IMG_8170-歆舞界-记忆之所-memory\ house-剧照-德萨北京.JPG");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.container-mex-follow {
  display: flex;
  flex-flow: column wrap;
  justify-content: center;
  align-items: center;
}
/* End Follow Us */

/* Video Banner */
.video-banner {
  position: relative;
  padding: 0;
  height: 650px;
  overflow: hidden;
}

.video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-flow: column wrap;
  border: solid white 1px;
}

.banner-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  z-index: 2;
}

.video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* End Video Banner */

/* My Suppoters */
#titles {
  margin-top: 120px;
  width: 100%;
  display: flex;
  flex-flow: column wrap;
  justify-content: space-evenly;
  align-items: center;
  background-color: #f9f9f9;
}

.container-logo-titles {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 200px;
}

.titles {
  width: 100%;
  height: 150px;
  margin: 0 auto;
  padding: 0;
  background-color: #fff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}

@media screen and (min-width: 280px) and (max-width: 900px) {
  #titles {
    margin-top: 90px;
  }

  .container-logo-titles {
    flex-flow: column wrap;
    margin: 0;
  }

  .titles {
    margin: 6px auto;
  }
}

.titles-1 {
  background-image: url(./img/Supporters/187302.png);
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}

.titles-2 {
  background-image: url(./img/Supporters/london-festival-of-architecture.jpg.webp);
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}

.titles-3 {
  background-image: url(./img/Supporters/Supporter\ logo\ 3.jpg);
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}

.titles-4 {
  background-image: url(./img/Supporters/BarnetBorough.webp);
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}
/* End Suppoters */

/* Location Section */
.map-container {
  width: 100%;
  height: 500px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
/* End Location Section */

/* Footer */
footer {
  background-color: #222;
  color: #fff;
  padding: 60px 0 20px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-flow: column wrap;
  text-align: center;
}

.footer-logo {
  font-size: 1.8rem;
  font-weight: 800;
  color: #b4caa5;
  margin-bottom: 20px;
}

.social-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin: 10px 0;
}

.social-links a {
  display: inline-block;
  color: white;
  width: 50px;
  height: 50px;
  background-color: #b4caa5;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: #000;
  color: #b4caa5;
  transform: translateY(-3px);
}

.fa-instagram {
  transition: color 0.2s;
  color: #000;
  display: flex;
  flex-flow: column wrap;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  border-radius: 10px;
  margin: 10px 5px;
  padding: 0;
  font-size: 30px;
}

.fa-instagram:hover {
  color: #fcfcfc;
  border: none;
  text-decoration: none;
}

.copyright {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #444;
  color: #aaa;
  font-size: 0.9rem;
}
/* End Footer */

/* Responsive Styles */
@media screen and (max-width: 992px) {
  .about-content {
    flex-direction: column;
  }

  .carousel-content h1 {
    font-size: 2.8rem;
  }

  .carousel-content p {
    font-size: 1.1rem;
  }
}

@media screen and (max-width: 768px) {
  nav ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: white;
    flex-direction: column;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  }

  nav ul.active {
    display: flex;
  }

  nav ul li {
    margin: 0;
    text-align: center;
  }

  nav ul li a {
    display: block;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
  }

  .mobile-menu-btn {
    display: block;
  }

  .carousel-content h1 {
    font-size: 2.2rem;
  }

  .carousel-content p {
    font-size: 1rem;
  }
}

@media screen and (max-width: 576px) {
  section {
    padding: 60px 0;
  }

  h2 {
    font-size: 2rem;
    margin-bottom: 30px;
  }

  .carousel-content h1 {
    font-size: 1.8rem;
  }

  .popup .content {
    padding: 35px 10px;
    width: 100%;
  }

  .popup .content .popup-close-btn {
    position: absolute;
    top: 10px;
    right: 5px;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 35px;
    color: #000;
    font-size: 30px;
    cursor: pointer;
    border-radius: 50%;
  }

  .popup .content .popup-close-btn:hover {
    background: #000;
    color: #fcfcfc;
  }

  .popup .content p {
    font-size: 16px;
  }
}
