/* Font Imports */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

/* Global Styles */
body {
  line-height: 1.6;
  background-color: #f3f3f3; /* Change background color */
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  margin-top: 0;
}

p {
  margin-top: 0;
}

/* Header Styles */
header {
    background-image: url(./backgrd.jpg);
    background-repeat: no-repeat; /* Don't repeat the background image */
    background-size: cover; /* Cover the entire header area */
    color: #fff;
    padding: 60px;
    text-align: center; /* Center the content */
  }
  

  
 header h1 {
    font-family: sans-serif; /* Apply the new font */
    font-size: 50px;
    margin: 0;
  }
  header h2 {
    font-family:sans-serif; /* Apply the new font */
    font-size: 40px;
    margin-bottom: 30px;
  }
.Mens-services{
    text-align: center;
}
.container {
  width: 100%;
  margin: 0 auto;
}
.container iframe{
  margin: 30px;
  width: 1100px;
  height: 700px;
  text-align: center;
}
nav {
    display: flex;
    justify-content: center; /* Center the flex items horizontally */
  }
  
  .nav-links {
    font-size: 30px;
    display: flex;
    list-style: none;
    margin: 0;
  }
  

.nav-links li {
  margin-right: 20px;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #ffc107;
}

.menu-toggle {
  display: none;
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 3px;
  background-color: #fff;
  margin: 5px 0;
  transition: all 0.3s ease;
}

/* Navigation Animation */
.nav-active .bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-active .bar:nth-child(2) {
  opacity: 0;
}
.row{
    text-align: center;
    flex-wrap: nowrap;
}
.image{
    margin: 10px;
}
.image p{
    font-size: 30px;
}
.nav-active .bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Section Styles */
section {
  padding: 20px 0;
  opacity: 0; /* Initially set opacity to 0 */
  animation: fadeIn 1s ease forwards; /* Apply fadeIn animation */
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(50px); /* Slide up from bottom */
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

section h2 {
  font-size: 32px;
  margin-bottom: 30px;
  text-align: center;
  color: #333; /* Change section title color */
}

.gallery .image {
  margin-bottom: 40px;
}

.gallery .image img {
  width: 100%;
  height: auto;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.mens-block img {
  width: 100%;
  height: auto;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Footer Styles */
footer {
  background-color: #222; /* Change footer background color */
  color: #fff;
  padding: 20px 0;
  text-align: center;
}

footer p {
  margin: 0;
}
/* Define the keyframes for the rotating animation */
@keyframes rotateUpDown {
  0% {
    transform: rotateY(0deg);
  }
  50% {
    transform: rotateY(30deg);
  }
  100% {
    transform: rotateY(0deg);
  }
}
#shirt{
    height:310px;
    width: 300px;
}
#jubba{
    height:300px;
    width: 300px;
}
#waistcoat{
    height:300px;
    width: 300px;
}
#suit{
    height:300px;
    width: 300px;
}
.image:hover img {
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.7); /* Adjust the glow effect as needed */
  }
.menspant1{
    height:400px;
    width: 300px;
}
.menspant2{
    height:400px;
    width: 300px;
}
.menspant3{
    height:400px;
    width: 300px;
}
.menspant4{
    height:400px;
    width: 300px;
}
#vistingcard {
  animation: rotateUpDown 5s linear infinite; /* Adjust the duration and timing function as needed */
}

/* Animation Keyframes */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.fadeIn {
  animation: fadeIn 1s ease-in-out;
}
.items{
    color: rgb(172, 79, 79);
}
@media screen and (max-width: 767px) {
  .image {
    margin: 10px; /* Center the images horizontally */
    max-width: 300px; /* Set maximum width for images */
  }
  
  .image p {
    font-size: 20px; /* Decrease font size for image captions */
  }
  .nav-active .bar:nth-child(2) {
    opacity: 0;
  }
  .row{
      flex-wrap: nowrap;
      flex-direction: column;
      align-items: center;
  }
  #shirt{
    margin: 8px;
    width: 350px; /* Make images fill the entire width */
    height: 283px; 
  }
  #jubba,
  #waistcoat,
  #suit,
  .menspant1,
  .menspant2,
  .menspant3,
  .menspant4 {
    margin: 10px;
    width: 300px; /* Make images fill the entire width */
    height: 280px; /* Maintain aspect ratio */
  }

  #vistingcard img{
    width: 100%; /* Adjust width of the visiting card */
    margin: 0 auto; /* Center the visiting card */
  }
  header {
    background-image: url(./backgrd.jpg);
    background-repeat: no-repeat; /* Don't repeat the background image */
    background-size: cover; /* Cover the entire header area */
    color: wheat;
    padding: 60px;
    text-align: center; /* Center the content */
    background-color: rgba(255, 255, 255, 0.404);
  }
  .nav-links{
    background-color: rgba(255, 255, 255, 0.719);
    border-radius: 20px;
  }
  .nav-links a {
    color: rgb(0, 0, 0);
    text-decoration: none;
    transition: color 0.3s ease;
  }
  .container iframe{
    margin: 30px;
    width: 310px;
    height: 200px;
    text-align: center;
}
.mainTailor{
  background-color: rgba(12, 12, 12, 0.753);
  border-radius: 20px;

}
}
