In this study, we demonstrate the reflectance spectrum of one-dimensional photonic crystals comprising two different types of metamaterials. In this regard, the designed structure can act as a simple and efficient detector for fat concentrations in milk samples. Here, the hyperbolic and gyroidal metamaterials represent the two types of metamaterials that are stacked together to construct the candidate structure; meanwhile, the designed 1D PCs can be simply configured as [G(ED)m]S. Here, G refers to the gyroidal metamaterial layers in which Ag is designed in a gyroidal configuration form inside a hosting medium of TiO2. In contrast, (ED) defines a single unit cell of the hyperbolic metamaterials in which two layers of porous SiC (E) and Ag (D) are combined together. It is worth noting that our theoretical and simulation methodology is essentially based on the effective medium theory, characteristic matrix method, Drude model, Bruggeman’s approximation, and Sellmeier formula. Accordingly, the numerical findings demonstrate the emergence of three resonant peaks at a specified wavelength between 0.8 μm and 3.5 μm. In this context, the first peak located at 1.025 μm represents the optimal one regarding the detection of fat concentrations in milk samples due to its low reflectivity and narrow full bandwidth. Accordingly, the candidate detector could provide a relatively high sensitivity of 3864 nm/RIU based on the optimal values of the different parameters. Finally, we believe that the proposed sensor may be more efficient compared to other counterparts in monitoring different concentrations of liquid, similar to fats in milk.