/* ==========================================================================
   Home Page Specific Styles
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-image: url('../assets/images/hero.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(29, 27, 28, 0.95) 0%, rgba(29, 27, 28, 0.7) 40%, rgba(29, 27, 28, 0.1) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-text {
  max-width: 650px;
  text-align: left;
  margin-left: 0;
}

.hero-text h1 {
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -2px;
}

.hero-text p {
  font-size: 1.25rem;
  color: var(--color-white);
  opacity: 0.9;
  margin-bottom: 2.5rem;
  max-width: 550px;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
}

/* Scroll indicator animation */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  opacity: 0;
  animation: fadeIn 1s ease forwards 1s;
}

.mouse {
  width: 30px;
  height: 50px;
  border: 2px solid var(--color-white);
  border-radius: 20px;
  display: flex;
  justify-content: center;
  padding-top: 10px;
  opacity: 0.7;
}

.wheel {
  width: 4px;
  height: 8px;
  background-color: var(--color-white);
  border-radius: 2px;
  animation: scrollWheel 2s infinite ease-in-out;
}

@keyframes scrollWheel {
  0% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(15px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

@media screen and (max-width: 768px) {
  .hero-overlay {
    background: linear-gradient(0deg, rgba(29, 27, 28, 0.95) 0%, rgba(29, 27, 28, 0.8) 100%);
  }
  .hero-text h1 {
    font-size: clamp(2.5rem, 8vw, 3.5rem);
  }
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  .hero-buttons .btn {
    width: 100%;
  }
}

.features-section {
  position: relative;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  padding: 2.5rem;
  text-align: center;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 40px rgba(56, 182, 255, 0.15);
  border-color: rgba(56, 182, 255, 0.3);
}

.feature-icon {
  width: 64px;
  height: 64px;
  background-color: rgba(56, 182, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent-blue);
  font-size: 2rem;
  margin-bottom: 1rem;
}

/* ==========================================================================
   Services Page Styles
   ========================================================================== */
.page-header {
  padding-top: calc(var(--header-height) + 4rem);
  padding-bottom: 4rem;
  text-align: center;
  background: linear-gradient(to bottom, rgba(56, 182, 255, 0.05) 0%, var(--color-bg-dark) 100%);
  border-bottom: 1px solid var(--glass-border);
}

.service-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 6rem;
}

.service-item:nth-child(even) {
  direction: rtl;
}

.service-item:nth-child(even) > * {
  direction: ltr; /* Reset text direction */
}

.service-img-wrapper {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.service-img-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(56,182,255,0.2) 0%, transparent 100%);
  pointer-events: none;
}

.service-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.service-item:hover .service-img-wrapper img {
  transform: scale(1.05);
}

.service-content h2 {
  color: var(--color-white);
  margin-bottom: 1rem;
}

.service-price {
  font-family: var(--font-primary);
  font-size: 1.25rem;
  color: var(--color-accent-blue);
  font-weight: 600;
  margin-bottom: 1.5rem;
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(56, 182, 255, 0.1);
  border-radius: 8px;
}

@media screen and (max-width: 900px) {
  .service-item {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .service-item:nth-child(even) {
    direction: ltr;
  }
}

/* ==========================================================================
   About Page Styles
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.stat-box {
  text-align: center;
  padding: 2rem;
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-accent-blue);
  line-height: 1;
  margin-bottom: 0.5rem;
}

@media screen and (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Contact Page Styles
   ========================================================================== */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
}

.contact-info-list {
  margin-top: 2rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-info-icon {
  color: var(--color-accent-blue);
  font-size: 1.5rem;
}

/* Form Styles */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 3rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-family: var(--font-primary);
  font-weight: 500;
  color: var(--color-nardo-grey);
}

.form-control {
  width: 100%;
  padding: 1rem;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  color: var(--color-white);
  font-family: var(--font-secondary);
  font-size: 1rem;
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-accent-blue);
  background-color: rgba(255, 255, 255, 0.05);
}

textarea.form-control {
  resize: vertical;
  min-height: 150px;
}

@media screen and (max-width: 900px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
  .contact-form {
    padding: 2rem 1.5rem;
  }
}
