/* Font Awesome Icons */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css');
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap');

.outfit-font {
    font-family: "Outfit", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #fff;
    margin: 0;
    overflow-x: hidden;
    overflow-y: auto;
}

/* Navbar */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000; /* Ensure the navbar stays on top */
    background-color: rgba(0, 0, 0, 0.8); /* Optional: Add background color for better visibility */
}

/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh; /* Full viewport height */
    background: url('../img/tintagel-duck-farm-14.jpg') no-repeat center center/cover;
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 25px;
    text-align: justify; /* Center text for mobile view */
    padding-top: 60px; /* Add padding to avoid overlap with fixed navbar */
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}

.content {
    position: relative;
    z-index: 1;
    margin: 0 20px;
}

.content h1 {
    font-size: 4rem;
    margin-bottom: 0.5rem;
}

.content p {
    font-size: 1.5rem;
}

.hero-section .hero-button {
    background-color: #ddd7cf; /* Button background color */
    color: #000000; /* Button text color */
    border: none;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin-top: 10px;
}

.hero-section .hero-button:hover {
    background-color: #c2bdb7; /* Button background color on hover */
    transform: scale(1.05); /* Slightly enlarge the button on hover */
}

.hero-section .hero-button:active {
    background-color: #656361; /* Button background color on click */
    transform: scale(1); /* Reset the button size on click */
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        height: 100vh; /* Full viewport height for mobile view */
        padding: 20px; /* Add padding for mobile view */
        text-align: justify; /* Center text for mobile view */
        padding-top: 60px; /* Add padding to avoid overlap with fixed navbar */
    }

    .content h1 {
        font-size: 3rem; /* Adjust heading size */
    }

    .content p {
        font-size: 1.2rem; /* Adjust paragraph size */
    }

    .content {
        margin: 0; /* Remove margin for mobile view */
    }
}

@media (max-width: 480px) {
    .content h1 {
        font-size: 2.5rem; /* Adjust heading size */
    }

    .content p {
        font-size: 1rem; /* Adjust paragraph size */
    }

    .content {
        margin: 0; /* Remove margin for mobile view */
    }
}

/* Breeds Section */
.duck-breeds {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: url('../img/bg2.png') no-repeat center center/cover;
    position: relative;
    z-index: 0;
}

/* Overlay Div */
.duck-breeds .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8); /* Semi-transparent background */
    backdrop-filter: blur(5px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
    padding: 2rem;
    overflow: hidden;
}

/* Title */
.duck-breeds .overlay h1 {
    text-align: center;
    font-size: 4rem;
    margin-bottom: 2rem;
    color: #ffffff;
}

/* Breed Container */
.duck-breeds .breed-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    align-items: stretch;
    max-height: 80vh;
    padding: 1rem;
}

/* Breed Card */
.duck-breeds .breed {
    background: rgba(0, 0, 0, 0.6);
    border-radius: 8px;
    overflow: hidden;
    text-align: left;
    max-width: 380px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    flex: 1 1 300px;
    min-width: 300px;
}

.duck-breeds .breed:hover {
    transform: scale(1.05);
}

.duck-breeds .breed img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.duck-breeds .breed h2 {
    font-size: 2rem;
    margin: 1rem;
    color: #ffffff;
}

.duck-breeds .breed p {
    font-size: 1.2rem;
    margin: 0 1rem 1.5rem;
}

/* Tablet View (768px - 1024px) */
@media (max-width: 1024px) {
    .duck-breeds .overlay {
        position: static; /* Remove absolute positioning */
        height: auto;
        padding: 1.5rem;
        backdrop-filter: none;
        overflow: visible;
    }

    .duck-breeds .overlay h1 {
        font-size: 3rem;
        margin-bottom: 1.5rem;
    }

    .duck-breeds .breed-container {
        gap: 1.5rem;
        max-height: none;
        overflow: visible;
    }

    .duck-breeds .breed {
        flex: 1 1 45%;
        max-width: 45%;
    }

    .duck-breeds .breed h2 {
        font-size: 1.8rem;
    }

    .duck-breeds .breed p {
        font-size: 0.9rem;
    }
}

/* Mobile View (up to 768px) */
@media (max-width: 768px) {
    .duck-breeds {
        display: block;
        min-height: auto;
    }

    .duck-breeds .overlay {
        position: static; /* Default block layout */
        width: 100%;
        height: auto;
        overflow: visible;
        backdrop-filter: none;
        padding: 1rem;
    }

    .duck-breeds .overlay h1 {
        font-size: 2rem;
    }

    .duck-breeds .breed-container {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .duck-breeds .breed {
        max-width: 90%;
    }

    .duck-breeds .breed h2 {
        font-size: 1.5rem;
    }

    .duck-breeds .breed p {
        font-size: 0.8rem;
    }
}

/* Products Section */
.products-section {
    background: url('../img/288919.jpg') no-repeat center center/cover;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start; /* Change to flex-start so the content starts from top */
    min-height: 100vh; /* Ensure section takes at least full viewport height */
    max-height: 100vh;
}

.products-wrapper {
    width: 100%;
    min-height: 100vh;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 2%;
    backdrop-filter: blur(5px);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.products-content-wrapper {
    display: flex;
    flex-direction: row; /* Align items horizontally */
    justify-content: space-between; /* Space between items */
    align-items: center; /* Center items vertically */
    width: 100%;
}

.image-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Create a 2x2 grid */
    grid-template-rows: repeat(2, 1fr);
    gap: .5rem;
    width: 65%; /* Adjust width as needed */
}

.products-wrapper .image-div {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2%;
}

.products-wrapper .image-div img {
    max-width: 80%; /* Reduce max-width to 80% */
    height: auto;
    border-radius: 10px;
}

.products-container {
    display: flex;
    flex-direction: column;
    width: 35%; /* Set width to 35% */
    max-width: 35%;
    gap: 2rem;
    flex-grow: 1; /* Allow the container to grow and fill available space */
    flex: 1;
    align-self: flex-start; /* Align to the start of the flex container */
    padding: 2rem;
    border-radius: 10px;
    background: #222;
    margin-bottom: 1.5rem; /* Space between sections */
}

.products-section .section-title {
    font-size: 3rem;
    text-align: center;
}

.products-section .products-part h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid #444;
    padding-bottom: 0.5rem;
}

/* Horizontal Cards Styling */
.products-section .horizontal-cards {
    display: flex;
    justify-content: space-between;
    margin-top: 1.5rem;
    gap: 1rem;
    flex-wrap: wrap; /* Allow cards to wrap when the screen size reduces */
}

.products-section .horizontal-card {
    flex: 1;
    background: #444;
    padding: 1.2rem;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 1rem; /* Space between cards */
    min-width: 250px; /* Ensure the cards have a minimum width */
}

.products-section .horizontal-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #e2e2e2;
}

.products-section .horizontal-card p {
    font-size: 1.3rem;
    line-height: 1.3;
}

/* Mobile View - Stack Horizontal Cards Vertically */
@media (max-width: 768px) {
    .products-section .horizontal-cards {
        flex-direction: column; /* Stack cards vertically */
        justify-content: center;
        align-items: center;
    }
    .products-wrapper{
        width: 100%;
        align-items: center;
        padding: 5%;
        flex-direction: column; /* Stack items vertically */
    }
    .products-content-wrapper {
        flex-direction: column; /* Stack items vertically */
        align-items: center;
    }
    .image-container {
        display: none; /* Hide image container */
    }
    .products-container{
        align-items: center;
        min-width: 100%;
    }
    .products-section .horizontal-card {
        width: 90%;  /* Adjust width for smaller screens */
        margin-bottom: 1rem;  /* Add space between the stacked cards */
    }

    .products-section .section-title {
        font-size: 2.5rem;  /* Adjust section title size for mobile */
    }

    .products-section .products-part h2 {
        font-size: 1.8rem;  /* Adjust section header font size for mobile */
    }
}

/* Contact Us Section */
.contact-us-section {
    background-color: #111;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 2%;
    min-height: 100vh; /* Ensure section takes at least full viewport height */
}

.contact-us-section .section-title {
    font-size: 3rem;
    margin-bottom: 2rem;
    text-align: center;
}

.contact-us-section .contact-container {
    display: flex;
    flex-direction: row;
    width: 100%;
    gap: 2rem;
    flex-grow: 1; /* Allow the container to grow and fill available space */
    justify-content: space-between;
}

.contact-us-section .contact-part {
    flex: 1;
    padding: 2rem;
    border-radius: 10px;
    background: #222;
    margin-bottom: 1.5rem;
}

.contact-us-section .contact-part h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid #444;
    padding-bottom: 0.5rem;
}

/* Contact Form Styling */
.contact-us-section .contact-form-content {
    display: flex;
    flex-direction: column;
}

.contact-us-section .input-group {
    margin-bottom: 1.2rem;
}

.contact-us-section .input-group label {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.contact-us-section .input-group input,
.contact-us-section .input-group textarea {
    padding: 0.8rem;
    border-radius: 5px;
    border: 1px solid #444;
    background: #333;
    color: #fff;
    width: 100%;
    font-size: 1rem;
}

.contact-us-section .contact-form-content textarea {
    resize: vertical;
    height: 150px;
}

.contact-us-section .submit-btn {
    background: #444;
    color: #fff;
    border: none;
    padding: 1rem;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.contact-us-section .submit-btn:hover {
    background: #555;
}

/* Contact Details Styling */
.contact-us-section .contact-details p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.contact-us-section .contact-details i {
    color: #ffffff; /* Icon color (you can change this as per your theme) */
    margin-right: 10px;
}

/* Google Map Embed Styling */
.contact-us-section .google-map {
    margin-top: 2rem; /* Space above the map */
    border-radius: 10px;
    overflow: hidden;
}

.contact-us-section .google-map iframe {
    width: 100%;
    height: 300px; /* Adjust height as needed */
    border: none;
}

/* Mobile View - Stack Contact Parts Vertically */
@media (max-width: 768px) {
    .contact-us-section .contact-container {
        flex-direction: column; /* Stack contact parts vertically */
    }

    .contact-us-section .contact-part {
        width: 100%;  /* Ensure both parts take full width */
        margin-bottom: 1rem;
    }

    .contact-us-section .section-title {
        font-size: 2.5rem;  /* Adjust section title size for mobile */
    }

    .contact-us-section .contact-part h2 {
        font-size: 1.8rem;  /* Adjust section header font size for mobile */
    }

    .contact-us-section .contact-form-content textarea {
        height: 120px;  /* Adjust textarea height for mobile */
    }

    .contact-us-section .google-map iframe {
        height: 250px; /* Adjust map height for mobile */
    }
}

/* Header Styles */
.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    color: #fff;
    padding: 10px 40px;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  }
  
  .site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .site-header .logo {
    font-size: 1.4rem;
    font-weight: 500;
    letter-spacing: 1px;
  }
  
  .site-header .navigation {
    display: flex;
  }
  
  .site-header .navigation ul {
    list-style: none;
    display: flex;
    gap: 20px;
  }
  
  .site-header .navigation ul li {
    display: inline-block;
  }
  
  .site-header .navigation ul li a {
    text-decoration: none;
    color: #fff;
    font-size: 1rem;
    padding: 5px 10px;
    transition: background-color 0.3s ease, color 0.3s ease;
  }
  
  .site-header .navigation ul li a:hover {
    background-color: #444;
    border-radius: 5px;
  }
  
  /* Mobile Menu Styles */
  .site-header .menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #fff;
  }

  /* .site-header.transparent {
    background-color: transparent;
  } */
  
/* Mobile Menu Styles */
@media (max-width: 768px) {
    .site-header {
      /* display: flex; */
      flex-direction: row; /* Keep header elements in a row */
      justify-content: space-between; /* Push logo to the left and menu toggle to the right */
      align-items: center; /* Vertically center-align the logo and menu toggle */
      padding: 10px 20px; /* Add some spacing */
    }
  
    .site-header .logo {
      align-self: flex-start; /* Ensure the logo stays on the left */
    }
  
    .site-header .menu-toggle {
      display: block; /* Show the hamburger menu */
      align-self: flex-end; /* Align the toggle button to the right */
    }
  
    .site-header .navigation {
      display: none; /* Hide navigation links by default */
      flex-direction: column; /* Stack links vertically */
      justify-content: flex-start; /* Align links from the top */
      align-items: flex-end; /* Align links to the right */
      background-color: rgba(0, 0, 0, 0.95);
      position: absolute;
      top: 100%;
      right: 0;
      width: 100%;
      padding: 20px;
    }
  
    .site-header .navigation.active {
      display: flex; /* Show navigation links when active */
    }
  
    .site-header .navigation ul {
      display: flex;
      flex-direction: column; /* Stack links vertically */
      gap: 15px; /* Add spacing between links */
    }
  
    .site-header .navigation ul li {
      text-align: right; /* Align text to the right */
    }

    .menu-toggle {
        background-color: rgba(0, 0, 0, 0.8);
        border-radius: 8px;
        padding-left: 10px;
        padding-right: 10px;
        padding-top: 5px;
        padding-bottom: 5px;
    }
  }
  
  .navigation i{
    padding-left: 10px;
  }

  .site-footer {
    background-color: #111;
    color: #fff;
    padding: 20px;
    font-size: 14px;
    text-align: center;
  }
  
  .footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 20px;
  }
  
  .footer-section {
    flex: 1;
    min-width: 200px;
  }
  
  .footer-section h4 {
    margin-bottom: 10px;
    font-size: 16px;
    color: #f4c542;
  }
  
  .footer-section p,
  .footer-section ul {
    margin: 0;
    padding: 0;
    list-style: none;
  }
  
  .footer-section ul li {
    margin-bottom: 5px;
  }
  
  .footer-section ul li a {
    color: #fff;
    text-decoration: none;
  }
  
  .footer-section ul li a:hover {
    text-decoration: underline;
  }
  
  .social-icons {
    display: flex;
    justify-content: center;
    gap: 10px;
  }
  
  .social-icons a {
    color: #fff;
    font-size: 20px;
  }
  
  .social-icons a:hover .fa-facebook{
    color: #3b5998;
  }

  .social-icons a:hover .fa-twitter{
    color: #00acee;
  }

  .social-icons a:hover .fa-instagram{
    color: #e2277e;
  }
  
  .footer-bottom {
    text-align: center;
    margin-top: 20px;
    font-size: 12px;
    color: #bbb;
  }
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .footer-container {
      flex-direction: column;
      align-items: center;
      text-align: center;
    }
  
    .footer-section {
      margin-bottom: 20px;
    }
  }

  .bold-count{
    font-weight: bold;
  }