/* Version 1.1 - Final Elite Website */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  background: #fff;
  color: #222;
  line-height: 1.6;
}

html {
  scroll-behavior: smooth;
}

.sticky-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: #111;
  padding: 10px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.logo {
  height: 60px;
  object-fit: contain;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
  flex-wrap: wrap;
}

nav a {
  color: #f7c600;
  font-weight: bold;
  text-decoration: none;
  font-size: 1rem;
  position: relative;
  padding: 8px 4px;
}

nav a::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  background: #f7c600;
  left: 0;
  bottom: 0;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

nav a:hover::after,
nav a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

section {
  padding: 80px 20px;
  text-align: center;
  position: relative;
}

.section-full {
  height: 100vh;
  color: #fff;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  position: relative;
  text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}

.section-full img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.4);
  transform: scale(1);
  transition: transform 6s ease-in-out;
}

.section-full:hover img {
  transform: scale(1.5);
}

/* Fade-in text animation */
.fade-in h2,
.fade-in p {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease, transform 1s ease;
}

.fade-in.visible h2,
.fade-in.visible p {
  opacity: 1;
  transform: translateY(0);
}

.section-full h2 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.section-full p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto;
}

/* فرم تماس */
form {
  width: 100%;
  max-width: 600px;
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

input, textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
}

button {
  background-color: #f7c600;
  color: #111;
  border: none;
  padding: 12px 24px;
  font-weight: bold;
  cursor: pointer;
  border-radius: 5px;
  transition: background 0.3s ease;
}

button:hover {
  background: #e6b800;
}

.contact-details {
  margin-top: 30px;
  font-size: 1rem;
  line-height: 1.8;
  color: #fff;
}

footer {
  background: #111;
  color: #f7c600;
  padding: 20px 0;
  font-size: 0.9rem;
  text-align: center;
}

@media (max-width: 768px) {
  .section-full h2 {
    font-size: 2rem;
  }
  .section-full p {
    font-size: 1rem;
  }
  .sticky-header {
    flex-direction: column;
    align-items: flex-start;
  }
  nav ul {
    flex-direction: column;
    gap: 10px;
  }
}










/* ... بقیه کدها به‌صورت قبل */

.section-full {
  height: 100vh;
  color: #fff;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  position: relative;
  text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}

.section-full img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.4);
  transform: scale(1);
  transition: transform 6s ease-in-out;
}

.section-full:hover img {
  transform: scale(1.5);
}

.text-content {
  opacity: 0;
  transform: translateY(80px);
  transition: opacity 1.2s ease, transform 1.2s ease;
}

.fade-in.visible .text-content {
  opacity: 1;
  transform: translateY(0);
}

.text-content h2 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.text-content p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto;
}







.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  width: 60px;
  height: 60px;
  backdrop-filter: blur(8px);
  background-color: rgba(255, 255, 255, 0.1); /* کمی روشن برای شیشه‌ای */
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.whatsapp-float img {
  width: 70%;
  height: 70%;
  object-fit: contain;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.5));
}

.whatsapp-float:hover {
  transform: scale(1.1);
}
.whatsapp-float img {
  width: 70%;
  height: 70%;
  object-fit: cover;
  border-radius: 50%; /* دایره‌ای کردن عکس */
  background: white; /* یا مشکی، بسته به طرح */
}




.linkedin-float {
  position: fixed;
  bottom: 100px; /* بالاتر از واتساپ */
  right: 20px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease;
  border: 1px solid rgba(255,255,255,0.2);
}

.linkedin-float:hover {
  transform: scale(1.1);
}

.linkedin-float img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 50%;
}









.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.1); /* نیمه‌شفاف برای حالت شیشه‌ای */
  backdrop-filter: blur(10px);         /* افکت شیشه‌ای */
  -webkit-backdrop-filter: blur(10px); /* برای پشتیبانی Safari */
  border-radius: 50%;
  width: 60px;
  height: 60px;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease;
  border: 1px solid rgba(255,255,255,0.2); /* حاشیه شیشه‌ای ظریف */
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

.whatsapp-float img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

