/* ============================
Font
============================ */
@font-face {
  font-family: 'IphoneMedium';
  src: url('Font/iPhone/iphone-fonst/Ios 15 Medium.ttf') format('truetype');
}

@font-face {
  font-family: 'Lalezar';
  src: url('Font/Lalezar/Digi Lalezar Plus.ttf') format('truetype');
}

/* ============================
Body Style
============================ */
body {
  margin: 0;
  background: rgba(255, 255, 255, 0.919);
  font-family: 'IphoneMedium', sans-serif;
  font-size: 1rem;
  direction: rtl;
  text-align: right;
  scroll-behavior: smooth;
}

/* ============================
Header
============================ */
.header {
  background: #000;
  color: #fff;
  padding: 12px 0;
  box-shadow: 0 5px 10px rgba(0,0,0,0.2);
}
.header-container {
  width: 100%;
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.header-links {
  display: flex;
  gap: clamp(40px, 9vw, 150px);
}
.header-links a {
  color: #fff;
  text-decoration: none;
  font-size: 1.1em;
  transition: color .3s, transform .3s;
}
.header-links a:hover {
  color: #bdbdbd;
  transform: scale(1.05);
}
.logo-container {
  display: flex;
  justify-content: center;
  flex-grow: 0.5;
}
.logo {
  max-width: 120px;
  transition: transform .3s;
  cursor: pointer;
}
.logo:hover {
  transform: scale(1.4);
}

/* ------------------------------------------------------------------
hamburger panel
------------------------------------------------------------------ */
.hamburger-btn {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  position: absolute;
  right: 20px;
  top: 10px;
  z-index: 1001;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 80%;
  max-width: 300px;
  height: 100vh;
  background: #222;
  color: #fff;
  transform: translateX(100%);
  transition: transform .3s ease-in-out;
  z-index: 1000;
  overflow-y: auto;
  padding-top: 60px;
}
.mobile-nav a {
  display: block;
  padding: 15px 20px;
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid #444;
  font-size: 1.1rem;
}
.mobile-nav a:hover { background: #333; }
.mobile-menu.open { transform: translateX(0); }

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease;
  z-index: 999;
}
.overlay.show { opacity: 1; visibility: visible; }

body.no-scroll { overflow: hidden; }
/* ============================
  Body Building section
============================ */
.Bodybuilding-section{
    width:100%;
    background:
    radial-gradient(circle at top, rgba(255, 0, 0, 0.14), transparent 28%),
    linear-gradient(180deg, #060606 0%, #0d0d0d 45%, #050505 100%);
    position:relative;
}

.Bodybuilding-container{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:50px;
}

.Bodybuilding-content{
    flex:1;
}

.Bodybuilding-image{
    flex:1;
    overflow:hidden;
    border-radius:25px;
    margin-top: 50px;

}

.Bodybuilding-image img{
    width:100%;
    display:block;
    border-radius:25px;
}

.Bodybuilding-image:hover{
  cursor: pointer;
  transform:scale(1.05);
    transition: all 0.3s ease;
}

.Bodybuilding-content h2{
    font-size:3rem;
    margin-bottom:20px;
    color:#cf1f00;
    text-align:center;

}

.Bodybuilding-content p{
    font-size:1.1rem;
    line-height:2;
    color:#ddd;
    text-align:center;

}

.coach-button-container{
    display:flex;
    justify-content:center;
    margin-top:40px;
}

.coach-button{
  padding: 15px 50px;
  border-radius: 50px;
  background-color: white;
  color: black;
  font-size: 20px;
  font-weight: bold;
  text-decoration:none;
  transition: all 0.3s ease;
  box-shadow: +2px -2px 50px rgba(255, 255, 255, 0.541);
  margin-bottom: 40px;
}

.coach-button:hover{
    transform:translateY(-5px) scale(1.1);
    background:#161616;
    color: white;
    box-shadow: 0 10px 30px black;
    transition: all 0.3 ease;
}

@keyframes floatImage{
    0%{
        transform:translateY(0);
    }
    50%{
        transform:translateY(-12px);
    }
    100%{
        transform:translateY(0);
    }
}

/* Responsive */
@media(max-width:768px){
    .Bodybuilding-container{
        flex-direction:column;
    }

    .Bodybuilding-content{
        text-align:center;
    }

    .Bodybuilding-content h2{
        font-size:2.3rem;
    }
}
/* ============================
  Footer
============================ */
.footer {
  background: #0a0a0a;
  color: #eee;
  padding: 50px;
  font-family: 'IphoneMedium', sans-serif;
  border-top: 4px solid #0c0c0c;
  box-sizing: border-box;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.footer-section h3 {
  font-family: 'Lalezar', cursive;
  color: #fff;
  margin-bottom: 15px;
}

.footer-section p {
  margin-bottom: 10px;
}

.location-link{
  color: #ddd;
  text-decoration: none;
  transition: all 0.3s ease;
}
.location-link:hover{
  color: red;
}
.contact-link {
  color: #ddd;
  text-decoration: none;
  transition: all 0.3s ease;
}

.contact-link:hover {
  color: red;
}

.social-box {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 35px;
  margin-top: 20px;
  background: #181818;
  padding: 3px;
  border-radius: 12px;
  width: 100%;
  max-width: 100%;
  border: 1px solid #333;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  align-items: center;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-link img {
  width: 32px;
  height: 32px;
  transition: transform 0.3s ease, filter 0.3s;
  filter: grayscale(100%);
}

.social-link:hover img {
  transform: translateY(-5px) scale(1.1);
  filter: grayscale(0%);
}

.designer-link {
  color: #ff5252;
  text-decoration: none;
  font-weight: bold;
}

/* موبایل */
@media (max-width: 900px) {
  .footer-section {
    max-width: 100%;
    text-align: center;
  }

  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-section {
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
  }

  .social-box {
    width: 100%;
    justify-content: center;
  }
}

/* ============================
Responsive
============================ */
@media (max-width: 900px) {
  .icon-item {
    max-width: 30%;
  }
  .icon-item {
    max-width: 45%;
  }
  .icon-img {
    width: 50px;
    height: 50px;
  }
  .icon-text {
    font-size: 13px;
  }
  .hamburger-btn {
     display: block; 
  }
  .header-links { 
    display: none;
  }
}
@media (max-width: 400px) {
  .icon-item {
    max-width: 100%;
  }
}
