/* ========================================
   BEEMYE - Homepage Styles
   ======================================== */

/* Hero Section */
.hero {
  position: relative;
  display: flex;
  align-items: stretch;
  padding: 80px 0 60px;
  background: #fff;
  overflow: hidden;
  min-height: auto;
}

.hero-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 60px;
  padding: 0 24px;
  width: 100%;
}

/* Slider */
.hero-slider {
  position: relative;
  flex: 0 0 55%;
  max-width: 55%;
}

.slider-container {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.slider-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slider-slide {
  flex: 0 0 100%;
  width: 100%;
}

.slider-slide img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(80, 80, 80, 0.7);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
  z-index: 10;
}

.slider-nav:hover {
  background: rgba(60, 60, 60, 0.9);
}

.slider-nav svg {
  width: 24px;
  height: 24px;
  stroke: #fff;
  stroke-width: 2;
  fill: none;
}

.slider-prev {
  left: 12px;
}

.slider-next {
  right: 12px;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ccc;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
}

.slider-dot.active {
  background: #1a2744;
}

/* Hero Content */
.hero-content {
  flex: 1;
  padding-top: 0;
}

.hero-title {
  font-size: 1.85rem;
  font-weight: 700;
  color: #1a2744;
  margin-bottom: 16px;
  line-height: 1.4;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: #1a2744;
  font-weight: 600;
  margin-bottom: 28px;
}

.hero-desc {
  font-size: 0.95rem;
  color: #333;
  line-height: 1.9;
  margin-bottom: 24px;
  text-align: justify;
}

.hero-highlight {
  font-size: 0.95rem;
  color: #1a2744;
  font-weight: 600;
  line-height: 1.8;
}

/* Instagram Section */
.instagram-section {
  padding: 60px 24px;
  background: #f5f5f5;
}

.instagram-inner {
  max-width: 1100px;
  margin: 0 auto;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  overflow: hidden;
}

.instagram-header {
  display: flex;
  align-items: center;
  padding: 24px 32px;
  border-bottom: 1px solid #eee;
  position: relative;
}

.instagram-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid #1a2744;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  margin-right: 20px;
  flex-shrink: 0;
}

.instagram-avatar svg {
  width: 50px;
  height: 50px;
  fill: #1a2744;
}

.instagram-info {
  flex: 1;
}

.instagram-username {
  font-size: 1rem;
  font-weight: 600;
  color: #262626;
  margin-bottom: 2px;
}

.instagram-name {
  font-size: 0.9rem;
  color: #262626;
  font-weight: 500;
  margin-bottom: 4px;
}

.instagram-stats {
  font-size: 0.85rem;
  color: #8e8e8e;
  line-height: 1.5;
}

.instagram-icon {
  position: absolute;
  top: 24px;
  right: 32px;
}

.instagram-icon svg {
  width: 28px;
  height: 28px;
}

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 4px;
}

.instagram-post {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  cursor: pointer;
}

.instagram-post img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.instagram-post:hover img {
  transform: scale(1.05);
}

.instagram-post::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  transition: background 0.3s ease;
}

.instagram-post:hover::after {
  background: rgba(0,0,0,0.1);
}

/* Services Cards Section */
.services-cards {
  padding: 80px 24px;
  background: #fff;
}

.services-cards-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
}

.service-card-item {
  text-align: center;
}

.service-card-icon {
  width: 180px;
  height: 180px;
  margin: 0 auto 28px;
}

.service-card-icon svg {
  width: 100%;
  height: 100%;
}

.service-card-title {
  font-size: 1.25rem;
  color: #3d5a80;
  font-weight: 600;
  margin-bottom: 10px;
}

.service-card-subtitle {
  font-size: 0.95rem;
  color: #7a8b9c;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-inner {
    flex-direction: column;
    gap: 40px;
  }

  .hero-slider {
    flex: none;
    max-width: 100%;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .hero-inner {
    flex-direction: column;
    gap: 40px;
  }

  .hero-slider {
    flex: none;
    max-width: 100%;
    width: 100%;
  }

  .hero-title {
    font-size: 1.5rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-desc {
    font-size: 0.9rem;
  }

  .instagram-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .instagram-header {
    padding: 16px 20px;
  }

  .instagram-avatar {
    width: 60px;
    height: 60px;
  }

  .instagram-avatar svg {
    width: 36px;
    height: 36px;
  }

  .services-cards-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .service-card-icon {
    width: 140px;
    height: 140px;
  }
}
