:root {
  --main-color: #6a0dad;
  --border-color: #6a0dad;
}
/* فقط حذف margin و padding */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* حذف outline هنگام کلیک */
*:focus {
    outline: none;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, sans-serif;
}

body {
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
  color: #333;
  padding-top: 90px;
  transition: all .5s ease;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 5%;
  z-index: 1000;
  backdrop-filter: blur(12px);
}
.start{
    font-size:14px;
    margin:2px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  height: 40px;
  width: auto;
}

.logo h1 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--main-color);
}

.menu-toggle {
  background: none;
  border: none;
  font-size: 1.3rem;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--main-color);
}

.sidebar {
  position: fixed;
  top: 0;
  right: -320px;
  width: 280px;
  height: 100vh;
  background: white;
  color: #333;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
  transition: all .5s ease;
  z-index: 1000;
  padding: 80px 20px 20px;
  border-radius: 0 15px 15px 0;
}

.sidebar.active {
  right: 0;
}

.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: .5s;
}

.sidebar-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.sidebar-close {
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 1.3rem;
  cursor: pointer;
  color: var(--main-color);
}

.sidebar ul {
  list-style: none;
  padding: 0;
}

.sidebar ul li {
  margin: 20px 0;
}

.sidebar a {
  text-decoration: none;
  color: #000;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: .3s;
}

.sidebar a i, .sidebar a img {
  width: 18px;
  height: 18px;
  color: var(--main-color);
}

.sidebar a:hover {
  color: var(--main-color);
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 30px;
}

.social-links a {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #000;
  font-size: 0.9rem;
  font-weight: 500;
  transition: .3s;
}

.social-links a i, .social-links a img {
  width: 18px;
  height: 18px;
  color: var(--main-color);
}

.social-links a:hover {
  color: var(--main-color);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--main-color);
  color: white;
  border-radius: 30px;
  text-decoration: none;
  cursor: pointer;
  transition: all .3s ease;
  font-size: 0.9rem;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(106, 13, 173, 0.4);
}

.btn:active {
  transform: translateY(0);
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.hero {
  padding: 80px 5%;
  text-align: center;
  margin: 20px 5%;
  border-radius: 20px;
  position: relative;
  z-index: 1;
  background: linear-gradient(rgba(106, 13, 173, 0.7), rgba(106, 13, 173, 0.5)), url('https://images.unsplash.com/photo-1506629905607-e91e2cea6f0a?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80') no-repeat center center/cover;
  color: white;
}

.hero-content h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  text-align: center;
  font-size: 1.8rem;
  margin: 40px 0 20px;
  color: var(--main-color);
}

.services {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
  padding: 0 5% 30px;
}

.service-card {
  text-align: center;
  padding: 25px;
  background: white;
  border-radius: 15px;
  transition: all .3s;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service-card i {
  font-size: 2.5rem;
  color: var(--main-color);
  margin-bottom: 15px;
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--main-color);
}

.service-card p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 15px;
  color: #666;
}

.boats-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 25px;
  padding: 0 5% 40px;
}

.boat-card {
  padding: 20px;
  transition: transform .3s ease;
  border: 2px solid var(--border-color);
  border-radius: 15px;
  background: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.boat-card:hover {
  transform: translateY(-5px);
}

.boat-image {
  width: 100%;
  height: 400px;
  object-fit: contain;
  border-radius: 15px;
  margin-bottom: 10px;
  background: white;
  border: 2px solid var(--main-color);
  padding: 10px;
}

.boat-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
}

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: .3s;
  z-index: 1500;
}

.popup-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  background: white;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  z-index: 2000;
  width: 90%;
  max-width: 500px;
  text-align: center;
  transition: .3s;
  max-height: 80vh;
  overflow-y: auto;
}

.popup.active {
  transform: translate(-50%, -50%) scale(1);
}

.popup h3 {
  color: var(--main-color);
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.popup table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  font-size: 0.9rem;
}

.popup table th, .popup table td {
  padding: 8px 10px;
  border: 1px solid var(--main-color);
}

.popup table th {
  background: var(--main-color);
  color: white;
  font-size: 0.9rem;
}

.popup-close {
  position: absolute;
  top: 10px;
  left: 15px;
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--main-color);
}

footer {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(12px);
  padding: 30px 5%;
  text-align: center;
  margin-top: 40px;
  font-size: 0.9rem;
}

.service-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--main-color);
  color: white;
  border-radius: 25px;
  text-decoration: none;
  cursor: pointer;
  transition: all .3s ease;
  font-size: 0.8rem;
  border: none;
  margin-top: 10px;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.service-btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(106, 13, 173, 0.4);
}

.service-btn:active {
  transform: translateY(0);
}

.service-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s;
}

.service-btn:hover::before {
  left: 100%;
}

.stats-section {
  padding: 40px 5%;
  background: white;
  margin: 30px 0;
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.stat-item {
  text-align: center;
  padding: 20px;
}

.progress-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: conic-gradient(var(--main-color) var(--progress,0%), #f0f0f0 0%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  position: relative;
}

.progress-circle::before {
  content: '';
  position: absolute;
  width: 90px;
  height: 90px;
  background: white;
  border-radius: 50%;
}

.progress-text {
  position: relative;
  z-index: 1;
  font-size: 1.3rem;
  font-weight: bold;
  color: var(--main-color);
}

.stat-item h3 {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 5px;
}

.stat-item p {
  font-size: 0.9rem;
  color: #666;
}

.feedback-section {
  padding: 40px 5%;
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
}

.feedback-container {
  max-width: 800px;
  margin: 0 auto;
}

.feedback-form {
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
}

.feedback-form h3 {
  color: var(--main-color);
  margin-bottom: 20px;
  text-align: center;
  font-size: 1.4rem;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #333;
}

.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 0.9rem;
  transition: border-color 0.3s;
}

.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none;
  border-color: var(--main-color);
}

.form-group textarea {
  height: 120px;
  resize: vertical;
}

.rating-stars {
  display: flex;
  gap: 5px;
  justify-content: center;
  margin: 10px 0;
}

.rating-stars .star {
  cursor: pointer;
  font-size: 1.5rem;
  color: #ddd;
  transition: color 0.3s;
}

.rating-stars .star.active {
  color: #ffc107;
}

.comments-section {
  margin-top: 30px;
}

.comments-section h3 {
  color: var(--main-color);
  margin-bottom: 20px;
  text-align: center;
  font-size: 1.4rem;
}

.comments-list {
  display: grid;
  gap: 15px;
}

.comment-item {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border-right: 4px solid var(--main-color);
}

.comment-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.comment-name {
  font-weight: bold;
  color: var(--main-color);
}

.comment-rating {
  color: #ffc107;
}

.comment-text {
  color: #555;
  line-height: 1.5;
}

.comment-date {
  font-size: 0.8rem;
  color: #999;
}

.btn-info, .btn-buy {
  font-size: 0.8rem;
  padding: 8px 12px;
}

@media (max-width: 768px) {
  body {
    padding-top: 80px;
  }
  
  header {
    padding: 12px 5%;
  }
  
  .logo h1 {
    font-size: 1.1rem;
  }
  
  .logo-img {
    height: 35px;
  }
  
  .hero {
    padding: 60px 5%;
    margin: 15px 5%;
  }
  
  .hero-content h2 {
    font-size: 1.8rem;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .services {
    grid-template-columns: 1fr;
  }
  
  .boats-container {
    grid-template-columns: 1fr;
  }
  
  .boat-image {
    height: 300px;
  }
}