@font-face {
  font-family: "Helvetica Now Var";
  src: url("https://db.onlinewebfonts.com/t/e66905e07608167a84e6ad52f638c3c6.eot");
  src: url("https://db.onlinewebfonts.com/t/e66905e07608167a84e6ad52f638c3c6.eot?#iefix")format("embedded-opentype"),
  url("https://db.onlinewebfonts.com/t/e66905e07608167a84e6ad52f638c3c6.woff2")format("woff2"),
  url("https://db.onlinewebfonts.com/t/e66905e07608167a84e6ad52f638c3c6.woff")format("woff"),
  url("https://db.onlinewebfonts.com/t/e66905e07608167a84e6ad52f638c3c6.ttf")format("truetype"),
  url("https://db.onlinewebfonts.com/t/e66905e07608167a84e6ad52f638c3c6.svg#Helvetica Now Var")format("svg");
}

body {
    text-align: center;
    font-family: "Helvetica Now Var";    margin: 0;
    padding: 0;
    overflow-x: hidden;
  }
  
  .background {
    position: relative; 
    width: 100%;
    height: 100vh;
    background: url('baroqueweb.jpg') no-repeat center center;
    background-size: cover;
  }
  
  .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.27);
  }
  
  .text {
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 10vw;
    font-weight: bold;
    color: white;
    text-align: center;
  }
  
  .oneofone {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 10vw;
    font-weight: bold;
    color: white;
    text-align: center;
  }

  .navbar {
    position: sticky;
    z-index: 10; /* Higher z-index */
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 10px 20px;
    box-sizing: border-box;
    
  }
  
  .navbar a {
    color: rgb(0, 0, 0);
    text-decoration: none;
    margin: 0 10px;
  }
  
  .card-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    padding: 20px;
  }
  
  .card {
      width: 300px;
      height: 400px;
      position: relative;
      perspective: 1000px; /* For the 3D flip effect */
  }

  .card-inner {
      width: 100%;
      height: 100%;
      position: relative;
      text-align: center;
      transition: transform 0.8s;
      transform-style: preserve-3d;
  }

  .card:hover .card-inner {
      transform: rotateY(180deg);
  }

  .card-front, .card-back {
      position: absolute;
      width: 100%;
      height: 100%;
      backface-visibility: hidden;
      background: white;
      box-shadow: 0px 1px 15px -3px rgba(0, 0, 0, 0.30);
      border-radius: 25px;
  }

  .card-front {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: flex-start;
  }

  .card-image {
      width: 260px;
      height: 260px;
      margin: 20px;
      overflow: hidden;
      border-radius: 15px;
  }

  .card-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      filter: grayscale(100%);
  }

  .card-content {
      color: #1E1E1E;
      font-family: Helvetica;
      margin-left: -80px
  }

  .card-content .name {
      font-size: 24px;
      font-weight: 400;
      text-align: left; /* Align text to the left */
  }

  .card-content .title {
      font-size: 18px;
      font-weight: 300;
      margin-top: 5px;
  }

  .card-content .location {
      display: flex;
      align-items: center;
      margin-top: 10px;
      font-size: 14px;
      color: #868686;
      font-weight: 300;
  }

  .location-icon {
      width: 12px;
      height: 15px;
      background-image: url('location.svg');
      background-repeat: no-repeat;
      background-position: center;
      margin-right: 5px;
  }

  .card-back {
      background-color: rgb(255, 255, 255);
      color: rgb(0, 0, 0);
      display: flex;
      flex-direction: column;
      text-align: left;
      justify-content: center;
      transform: rotateY(180deg);
      border-radius: 25px;
  }

  .card-back h1 {
      font-size: 24px;
      margin: 0;
  }

  .card-back p {
      font-size: 18px;
      margin: 5px 0;
  }
  
    
    .link-container a {
      text-decoration: none;
      color: rgb(0, 0, 0);
}
  footer {
    background-color: #000000;
    padding: 20px;
    text-align: center;
    color: #ffffff;
  }
  
  form {
    display: inline-block;
    text-align: left;
    max-width: 300px;
    width: 100%;
  }
  
  label, input {
    display: block;
    margin-bottom: 10px;
    width: 100%;
  }
  
  input[type=text],
  input[type=tel],
  input[type=email] {
    height: 40px;
    border-radius: 20px;
    padding: 0 15px;
    border: 1px solid #ffffff;
    background-color: #ffffff;
    color: #000000;
  }
  
  input[type=submit] {
    background-color: #ffffff;
    border: none;
    color: #000000;
    padding: 12px 24px;
    text-align: auto;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    width: auto;
    border-radius: 25px;
  }
  
  fieldset {
    border: none;
    padding: 0;
    margin-bottom: 10px;
  }
  
  legend {
    margin-bottom: 5px;
  }
  
  .radio-group {
    display: flex;
    gap: 15px;
  }
  
  .radio-group label {
    display: flex;
    align-items: auto;
    margin-bottom: 0;
  }
  
  .radio-group input[type=radio] {
    margin-right: 5px;
    width: auto;
  }
  
  .philosophy {
    text-align: left;
    padding-left: 10%;
    padding-right: 10%;
  }
  .cat-body {
    background: white;
    padding: 2rem;
}

.catalogue-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1600px;
    margin: 0 auto;
}

.catalogue-card {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid #d4d4d4;
    transition: transform 0.2s ease;
    overflow: hidden;
}

.catalogue-card:hover {
    transform: translateY(-4px);
}

.project-image-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    background: #f8f8f8;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    border: 1px solid #eee;
}

.project-image-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.project-content {
    padding: 0 0.5rem;
}

.project-category {
    background: #f0f0f0;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    display: inline-block;
    margin-bottom: 0.8rem;
    font-weight: 500;
    color: #444;
}

.project-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.6rem;
    line-height: 1.2;
}

.project-details {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.4;
}

@media (max-width: 1400px) {
    .catalogue-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    .catalogue-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .catalogue-container {
        grid-template-columns: 1fr;
    }
    
    .catalogue-card {
        max-width: 400px;
        margin: 0 auto;
    }
}

.menu-ward13 {
  float: left;
  padding-left: 50px;
  margin-top: -30px;
}

.michael {
  float: right;
  padding-right: 50px;
  margin-top: -30px;
}


.shipman {
  float: left;
  padding-left: 50px;
  margin-top: -30px;
}

/* Hamburger menu styling */
.hamburger {
  display: none;  /* Hidden on larger screens */
  font-size: 20px;
  cursor: pointer;
  z-index: 11; /* Higher than .nav-links to ensure it's clickable */
}


@media (max-width: 768px) {
  .hamburger {
      display: block; /* Show hamburger on mobile */
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 0px; /* Adjust based on your header height */
    left: 0;
    width: 100%;
    display: none; /* Hidden by default */
    flex-direction: column;
    background: #ffffff;
    text-align: right;
    padding-top: 7vh;
    padding-bottom: 5vh;
    z-index: 10; /* Ensure the menu is above other elements */
}

.nav-links.active {
    display: flex; /* Show menu when active */
}


  .nav-links li {
      padding: 15px 0;
  }

  .hamburger {
      display: block; /* Show hamburger on mobile */
  }

  .nav-links.active {
      display: flex; /* Show menu when active */
  }
}

.videobg {
  width: 100vw;
  height: auto;
  display: block;
}

.variable .char {
  --delay: calc((var(--char-index) + 1) * 400ms);
  animation: breathe 4000ms infinite both;
  animation-delay: var(--delay);
}

.variable:hover span {
  animation-play-state: paused;
}

@keyframes breathe {
  0% {
    font-variation-settings: 'wght' 100, 'wdth' 85;
    font-size: 10vw;
  }
  60% {
    font-variation-settings: 'wght' 700, 'wdth' 100;
    font-size: 11vw;
  }
  
  100% {
    font-variation-settings: 'wght' 100, 'wdth' 85;
    font-size: 10vw;
  }
}
