/*
Margin and Padding Syntax:
1. Full syntax: 
   margin: [top] [right] [bottom] [left];
   e.g., margin: 10px 20px 15px 5px;

2. Shorthand (all sides equal): 
   margin: [value];
   e.g., margin: 10px;

3. Shorthand (vertical | horizontal):
   margin: [top/bottom] [right/left];
   e.g., margin: 10px 20px;

4. Shorthand (top | horizontal | bottom):
   margin: [top] [right/left] [bottom];
   e.g., margin: 10px 20px 15px;

Note: These rules apply to both margin and padding.
*/


@font-face {
    font-family: 'Bebas Neue';
    src: url('/assets/Font-BebasNeue-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
  }
  
  :root {
      --font-family-main: "Bebas Neue", Arial, sans-serif;
      --font-size-nav: 1.6rem;
      --font-size-title: 2.5rem;
      --font-size-projects-title: 1.7rem;
      --font-size-subtitle: 1.8rem;
      --font-size-paragraph: 1.5rem;
      --font-size-results-title: 1.6rem;
      --font-size-results-section: 1.1rem;
      --font-size-results-p: 1.1rem;
      --font-size-projects-title: 1.7rem;
      --color-text: #808080;
      --color-accent: #d3a045; /* This is the goldish accent color */
      --color-background: #ffffff;
      --color-footer: #333333;
      --color-highlight: #d3a045;
      --color-link-hover: #d17e06;
      --color-result-hover-bg: #fff9e6;
      --color-result-border-hover: #ffc107;
      --color-hover: #b38437;
    }
  
    
    body {
      font-family: var(--font-family-main);
      margin: 0;
      padding: 0;
      background: url("/assets/background.jpg") no-repeat center center fixed;
      background-size: cover;
      display: flex;
      flex-direction: column;
      min-height: 100vh;
      overflow-x: hidden; /* Hide horizontal scrolling */
    }
    
  
  
  
  
  
  
  
  
  
  
    .services {
      padding: 10px 20px; /* Updated padding */
      max-width: 1000px;
      margin: 0 auto;
    }
    
    .services h2 {
      text-align: center;
      margin-bottom: 20px;
      color: var(--color-accent);
      font-size: var(--font-size-title);
    }
    
    .services-content {
      display: flex;
      justify-content: center;
      text-align: left;
      gap: 20px;
      flex-wrap: wrap;
    }
    
    .service-item {
      flex: 1;
      min-width: 300px;
      max-width: 300px;
    }
    
    .service-item img {
      width: 100%;
      object-fit: cover;
      border-radius: 5px;
      margin-bottom: 10px;
    }
    
    .service-item h3 {
      font-size: var(--font-size-title);
      color: var(--color-accent);
      margin-bottom: 5px;
    }
    
    .service-item p {
      margin-bottom: 5px;
      font-size: var(--font-size-paragraph);
      color: var(--color-text);
    }
    
    .service-item p:first-of-type {
      font-size: var(--font-size-subtitle);
      margin-bottom: 0px;
      /* font-weight: bold; */
    }
    
    .service-item p:last-of-type {
      font-size: var(--font-size-paragraph);
      max-width: 280px;
    }
    
  
  
  
  
  
  
  
  
  
  
    
    .about {
      max-width: 940px;
      margin: 0px auto;
      padding: 40px;
    }
    
    .about h2 {
      text-align: center;
      margin-bottom: 0px;
      color: var(--color-accent);
      font-size: var(--font-size-title);
    }
    
    .about p {
      text-align: justify;
      color: var(--color-text);
      font-size: var(--font-size-paragraph);
      line-height: 1.25;
    }
    
    picture {
      max-width: 940px;
      border: #d3a045 solid;
      display: block; /* Make sure the picture element is block-level */
      margin: 0 auto; /* Optional: Center the picture */
      padding: 0; /* Ensure no padding */
      border-radius: 5px;
      margin-bottom: 20px;
    }
    
    picture img {
      width: 100%;
      height: auto;
      display: block; /* Prevents the extra space below the image */
      margin: 0; /* Removes any default margin */
      padding: 0; /* Removes any default padding */
    }
    
    .content-wrapper-large {
      display: flex;
      gap: 40px;
      justify-content: space-between;
    }
    
    .left-column,
    .right-column {
      flex: 1;
      width: 48%;
    }
    
    /* Hide small screen layout on larger screens */
    .content-wrapper-small {
      display: none;
    }
    
    /* For large screens (desktop and larger tablets) */
    @media (min-width: 769px) {
      .content-wrapper-large {
        display: flex;
      }
    
      .content-wrapper-small {
        display: none;
      }
    }
    
    /* For small screens (mobiles and tablets) */
    @media (max-width: 768px) {
      .content-wrapper-large {
        display: none;
      }
    
      .content-wrapper-small {
        display: block;
        padding: 10px;
      }
    
      .left-column,
      .right-column {
        width: 100%;
        margin-bottom: 20px;
      }
    }
    @media (max-width: 300px) {
      .service-item img {
        max-width: 200px;
        width: 100%;
        height: auto;
      }
      .about {
        padding: 10px;
      }
    }
    
    /* General Section Styling */
    #contact {
      padding: 40px 20px;
    }
    
    .contact-us h2 {
      text-align: center;
      font-size: 3.3rem;
      margin-bottom: 30px;
    }
    
    /* Layout for Contact Wrapper */
    .contact-wrapper {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 100px;
      max-width: 940px;
      margin: 0 auto;
    }
    
    /* Contact Details Styling */
    .contact-details {
      display: flex;
      flex-direction: column;
      gap: 20px;
      padding-left: 20%;
      padding-top: 3%;
      width: 300px;
    }
    
    /* Contact Item Styling (Icons + Links) */
    .contact-item {
      display: flex;
      align-items: center;
      gap: 15px;
    }
    
    .contact-item img {
      width: 40px; /* Icon size */
      height: 40px;
    }
    
    .contact-item a {
      text-decoration: none;
      font-size: 1.8em;
      color: var(--color-accent); /* Default text color */
      transition: color 0.3s ease;
    }
    
    .contact-item a:hover {
      color: #ffffff; /* Default text color */
    }
    
    /* Styling for Facebook Widget (iframe) */
    .facebook-widget iframe {
      width: 100%;
      max-width: 340px;
      height: 750px;
      border: #d39f45 solid;
      border-radius: 10px; /* Optional, adds rounded corners */
    }
    
    /* Responsive Design for Smaller Screens */
    @media (max-width: 760px) {
      .contact-wrapper {
        grid-template-columns: 1fr; /* Stacking the items on smaller screens */
      }
    
      /* Adjust the iframe to be more flexible on smaller screens */
      .facebook-widget iframe {
        margin: 5% auto;
        max-width: 340px;
        display: block;
      }
      .contact-details {
        padding-left: 0px;
        margin: 5% auto;
      }
      /* Ensure that icons and links are more spaced out on small screens */
      .contact-item {
        gap: 10px;
      }
    
      .contact-item img {
        width: 30px; /* Smaller icon size for mobile */
        height: 30px;
      }
          /* Layout for Contact Wrapper */
    .contact-wrapper {
width: 90%;
    }
    
     
  }   