/* Home Page Specific Styles */

/* Hero Section */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  padding: 8rem 5% 4rem;
  align-items: center;
}

.hero-content {
  opacity: 0;
  transform: translateY(30px);
}

.hero-content.visible {
  animation: fadeUp 0.8s ease forwards;
}

.hero-title {
  font-size: 4rem;
  line-height: 1.2;
  margin-bottom: 2rem;
  color: #1a1a1a;
}

.hero-title .italic {
  font-style: italic;
  font-weight: 400;
  color: var(--point-color);
}

.point {
  color: var(--point-color);
}

.hero-subtitle {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: #4a4a4a;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.stat-item {
  text-align: center;
}

.stat-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--point-color);
  margin-bottom: 0.25rem;
}

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

.hero-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  height: 600px;
  opacity: 0;
  transform: translateY(30px);
}

.hero-image.visible {
  animation: fadeUp 0.8s ease 0.2s forwards;
}

.hero-image-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease;
  transform: scale(1.1);
}

.hero-img.active {
  opacity: 1;
  animation: zoomOut 1s ease forwards;
}

.hero-badge {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  background: rgba(254, 253, 245, 0.95);
  padding: 1.5rem;
  border-radius: 15px;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.badge-icon {
  width: 40px;
  height: 40px;
  background: var(--point-color);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  font-size: 1.5rem;
}

.badge-text {
  font-size: 0.95rem;
  line-height: 1.4;
  color: #1a1a1a;
  font-weight: 500;
}

.badge-subtitle {
  font-size: 0.85rem;
  color: #666;
  margin-top: 0.5rem;
}

/* Services Section */
.services {
  padding: 6rem 5%;
  background: #fefdf5;
}

/* Services Carousel */
.services-carousel {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.carousel-viewport {
  flex: 1;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.carousel-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid var(--point-color);
  background: white;
  color: var(--point-color);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition:
    background 0.3s,
    color 0.3s,
    transform 0.2s;
  padding-bottom: 2px;
}

.carousel-btn:hover:not(:disabled) {
  background: var(--point-color);
  color: white;
  transform: scale(1.08);
}

.service-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition:
    box-shadow 0.3s,
    transform 0.3s;
  text-decoration: none;
  color: inherit;
  display: block;
  flex-shrink: 0;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.service-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
  position: relative;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1);
  transition: transform 0.8s ease;
}

.service-card.visible .service-image img {
  animation: zoomOut 0.8s ease forwards;
}

.service-icon {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  width: 50px;
  height: 50px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.service-content {
  padding: 1.5rem;
}

.service-title {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: #1a1a1a;
}

.service-price {
  color: #666;
  font-size: 0.95rem;
}

.view-all-container {
  text-align: center;
}

.view-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: white;
  color: var(--point-color);
  border: 2px solid var(--point-color);
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
}

.view-all-btn:hover {
  background: var(--point-color);
  color: white;
  transform: translateY(-3px);
}

/* About Section */
.about {
  padding: 6rem 5%;
  background: #fefdf5;
}

.about-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 4rem;
  opacity: 0;
  transform: translateY(30px);
}

.about-content.visible {
  animation: fadeUp 0.8s ease forwards;
}

.about-text {
  font-size: 1.8rem;
  line-height: 1.6;
  color: #1a1a1a;
  margin-bottom: 1rem;
}

.about-text .italic {
  font-style: italic;
  color: var(--point-color);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.about-card {
  background: white;
  padding: 2rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  opacity: 0;
  transform: translateY(30px);
}

.about-card.visible {
  animation: fadeUp 0.8s ease forwards;
}

.about-card-icon {
  width: 60px;
  height: 60px;
  background: var(--point-color);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
}

.about-card-title {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #1a1a1a;
}

.about-card-text {
  color: #666;
  line-height: 1.6;
}

.about-image-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-top: 4rem;
}

.about-image {
  border-radius: 20px;
  overflow: hidden;
  height: 500px;
  opacity: 0;
  transform: translateY(30px);
}

.about-image.visible {
  animation: fadeUp 0.8s ease forwards;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1);
}

.about-image.visible img {
  animation: zoomOut 0.8s ease forwards;
}

.fade-element {
  opacity: 0;
  transform: translateY(30px);
}

.fade-element.visible {
  animation: fadeUp 0.8s ease forwards;
}

.offer-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.offer-feature {
  display: flex;
  gap: 1rem;
}

.offer-feature-icon {
  width: 50px;
  height: 50px;
  background: var(--point-color);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.offer-feature-text {
  color: #4a4a4a;
  line-height: 1.6;
}

/* Text Animation Section */
.text-animation-section {
  min-height: 400vh;
  position: relative;
}

.text-animation-container {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fefdf5;
}

.animated-text {
  font-size: 8rem;
  font-weight: 700;
  color: #1a1a1a;
  position: absolute;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.8s ease;
  text-align: center;
  padding: 0 2rem;
}

.animated-text.active {
  opacity: 1;
  transform: scale(1);
}

.animated-text.exiting {
  opacity: 0;
  transform: scale(1.2);
}

/* Video Section */
.video-section {
  min-height: 200vh;
  position: relative;
}

.video-container {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fefdf5;
  padding: 2rem;
}

.video-wrapper {
  position: relative;
  width: 200px;
  height: 200px;
  border-radius: 20px;
  overflow: hidden;
  background: var(--point-color);
  opacity: 0;
  transform: translateY(50px);
  transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-wrapper.expanding {
  opacity: 1;
  transform: translateY(0);
  width: 90vw;
  height: 90vh;
  border-radius: 0;
}

.video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Team Section */
.team {
  padding: 6rem 5%;
  background: #fefdf5;
}

/* Benefits Section */
.benefits {
  padding: 6rem 5%;
  background: #fefdf5;
}

.benefits-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.benefits-image {
  border-radius: 20px;
  overflow: hidden;
  height: 500px;
  opacity: 0;
  transform: translateY(30px);
}

.benefits-image.visible {
  animation: fadeUp 0.8s ease forwards;
}

.benefits-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1);
}

.benefits-image.visible img {
  animation: zoomOut 0.8s ease forwards;
}

.benefits-text {
  opacity: 0;
  transform: translateY(30px);
}

.benefits-text.visible {
  animation: fadeUp 0.8s ease 0.2s forwards;
}

.benefits-title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: #1a1a1a;
}

.benefits-title .italic {
  font-style: italic;
  color: var(--point-color);
}

.benefits-description {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #4a4a4a;
  margin-bottom: 2rem;
}

/* Blog Section */
.blog {
  padding: 6rem 5%;
  background: #fefdf5;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.blog-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s;
  opacity: 0;
  transform: translateY(30px);
}

.blog-card.visible {
  animation: fadeUp 0.8s ease forwards;
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.blog-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1);
  transition: transform 0.8s ease;
}

.blog-card.visible .blog-image img {
  animation: zoomOut 0.8s ease forwards;
}

.blog-content {
  padding: 1.5rem;
}

.blog-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  color: #666;
}

.blog-title {
  font-size: 1.3rem;
  line-height: 1.4;
  color: #1a1a1a;
}

/* Responsive - Tablet */
@media (max-width: 1024px) {
  .hero {
    gap: 3rem;
    padding: 7rem 4% 3rem;
  }

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

  .about-text {
    font-size: 1.5rem;
  }

  .animated-text {
    font-size: 6rem;
  }

  .services,
  .about,
  .team,
  .benefits,
  .blog {
    padding: 5rem 4%;
  }
}

/* Responsive - Mobile */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 6rem 4% 3rem;
    min-height: auto;
  }

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

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

  .stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
  }

  .stat-icon {
    font-size: 1.5rem;
  }

  .stat-value {
    font-size: 1.2rem;
  }

  .stat-label {
    font-size: 0.75rem;
  }

  .hero-image {
    height: 400px;
    order: -1;
  }

  .hero-badge {
    bottom: 1rem;
    right: 1rem;
    left: 1rem;
    padding: 1rem;
  }

  .badge-text {
    font-size: 0.85rem;
  }

  .badge-subtitle {
    font-size: 0.75rem;
  }

  .services,
  .about,
  .team,
  .benefits,
  .blog {
    padding: 4rem 4%;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .service-image {
    height: 220px;
  }

  .service-title {
    font-size: 1.2rem;
  }

  .about-text {
    font-size: 1.2rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .about-card {
    padding: 1.5rem;
  }

  .about-card-title {
    font-size: 1.1rem;
  }

  .about-image-section {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-image {
    height: 350px;
  }

  .animated-text {
    font-size: 3rem;
  }

  .text-animation-section {
    min-height: 300vh;
  }

  .video-section {
    min-height: 150vh;
  }

  .video-wrapper {
    width: 150px;
    height: 150px;
  }

  .video-wrapper.expanding {
    width: 95vw;
    height: 95vh;
  }

  .benefits-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .benefits-image {
    height: 350px;
  }

  .benefits-title {
    font-size: 2rem;
  }

  .benefits-description {
    font-size: 1rem;
  }

  .blog-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .blog-image {
    height: 220px;
  }

  .blog-title {
    font-size: 1.2rem;
  }

  .offer-features {
    gap: 1rem;
  }

  .offer-feature-icon {
    width: 45px;
    height: 45px;
  }

  .offer-feature-text {
    font-size: 0.95rem;
  }
}

/* Responsive - Small Mobile */
@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .animated-text {
    font-size: 2.5rem;
  }

  .hero-badge {
    position: static;
    margin-top: 1rem;
  }

  .benefits-title {
    font-size: 1.7rem;
  }

  .about-text {
    font-size: 1.1rem;
  }
}
