/* Media query for tablets */
@media (min-width: 768px) {
    .grid-container-flex {
      font-size: 1.2rem;
    }
  }
  
  /* Media query for desktops */
  @media (min-width: 1024px) {
    .grid-container-flex {
      font-size: 1.7rem;
    }
  }

  body {
    margin: 0;
    font-family: 'Inter';
    background-color: #F8F8F7;
  }
  
  .navbar {
    background-color: #80001F; /* Light pastel blue */
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .logo {
    font-size: 1.4rem;
    font-family:'Playfair Display';
    font-weight: bold;
    color: white;

  }
  
  .nav-links {
    display: flex;
    gap: 20px;
    font-family:'Playfair Display';
  }
  
  .nav-links a {
    text-decoration: none;
    color: white;
    font-size: 1.2rem;
    border-radius: 50px;
    padding: 5px 10px;       /* Ensures consistent height and spacing */
    line-height: 1.5;         /* Helps with vertical alignment */
    display: inline-block;    /* Makes padding work properly */
  }


  a:hover { 
    text-decoration: underline; 
}

.nav-links a.current {
  border: 2px solid white;
  border-radius: 50%;
  padding: 5px 10px;
  font-weight: bold;
}
  
  .menu-icon {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
  }
  
  .menu-icon .bar {
    width: 25px;
    height: 3px;
    background-color: white;
  }
  
 /* Small screen behavior */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background-color: #80001F;
    position: absolute;
    top: 60px;
    right: 20px;
    width: 200px;
    padding: 10px;
  }
  
  .nav-links.show {
    display: flex;
  }

  .menu-icon {
    display: flex;
  }
}

#main-content{
  width: 80%; 
  float: center;
  margin-top: 30px;
  margin-right: 30px;
  padding-top: 15px;
    padding-bottom: 15px;
}

.contact-content-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 60px;
  margin-top: 40px;
  margin-bottom: 80px;
  margin-left: 20px;
  flex-wrap: wrap; /* makes layout responsive */
}
  

h1 {
  font-family:'Playfair Display';
  color: #80001F;
  font-size: 4.5rem;
  margin-bottom: 10px;
  margin-top: 50px;
  margin-left: 80px;
  text-align: center;
}

h2 {
  font-family:'Playfair Display';
  color: #80001F;
  font-size: 3rem;
  margin-bottom: 10px;
  margin-top: 20px;
  margin-left: 80px;
  text-align: left;
}

h3 {
    font-family:'Playfair Display';
    color: #80001F;
    font-size: 2rem;
    margin-bottom: 10px;
    margin-top: 50px;
    margin-left: 80px;
  text-align: left;
  }

p {
  font-family: 'Inter';
  color: #282828;
  font-size: 1.3rem;
  margin-top: 30px;
  margin-bottom: 30px;
  margin-left: 80px;
  margin-right: 120px;
  margin-left: 120px;
  text-align: left;
}

input[type=text], select, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #80001F;
    border-radius: 4px;
    box-sizing: border-box;
    margin-top: 6px;
    margin-bottom: 16px;
    resize: vertical;
    font-family: 'Inter';
  }
  
  input[type=submit] {
    background-color: #80001F;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-family: 'Inter';
  }
  
  input[type=submit]:hover {
    background-color: #80001F;
    font-family: 'Inter';
  }
  
  .container {
    border-radius: 5px;
    background-color: #f2f2f2;
    padding: 20px;
    font-family: 'Inter';
  }

  .button {
    background-color: #80001F; 
    border: none;
    border-radius: 30px;
    color: white;
    padding: 15px 35px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-family: 'Inter';
    font-size: 1.3rem;
    margin-left: 0px;
    width: max-content;
  }

  .button:hover {
    text-decoration: underline;
    font-weight: bold;
  }

  .button-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 95px;
  }

  .contact-header {
    display: flex;
    align-items: right;  
    gap: 10px;           
    margin-right: 40px;    
  }

  img {
    padding: 5px;
    max-width: 60%;
    height: auto;
    display: block;
    margin-top: 60px;
    transform: rotate(5deg); /* rotate by 15 degrees */
    transition: transform 0.3s ease; /* optional: smooth rotation effect */
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.3);
    align-items: center;
  }