/* ===========================
   HOME PAGE PROFESSIONAL STYLES
   =========================== */

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===========================
   HERO SECTION
   =========================== */
.hero-home {
  position: relative;
  height: 100vh;
  min-height: 700px;
  background-image: url('https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?w=1920&q=80');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(85, 51, 30, 0.88) 0%, rgba(139, 111, 71, 0.82) 50%, rgba(198, 177, 151, 0.78) 100%);
  z-index: 1;
}

/* Particle Animation */
.particles {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  animation: float-particle linear infinite;
}

@keyframes float-particle {
  0% {
    transform: translateY(100vh) translateX(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100px) translateX(100px);
    opacity: 0;
  }
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: white;
  max-width: 900px;
  padding: 0 20px;
}

.hero-badge {
  display: inline-block;
  padding: 10px 25px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 30px;
  font-size: 0.9rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 30px;
  animation: fadeInDown 1s ease-out 0.3s both;
}

.hero-title {
  font-size: 4.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 25px;
}

.title-line {
  display: block;
  animation: fadeInUp 1s ease-out both;
}

.title-line:first-child {
  animation-delay: 0.5s;
}

.title-highlight {
  background: linear-gradient(120deg, #fff 0%, #e5d2b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation-delay: 0.7s;
}

.hero-description {
  font-size: 1.3rem;
  line-height: 1.8;
  margin-bottom: 40px;
  opacity: 0.95;
  animation: fadeInUp 1s ease-out 0.9s both;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease-out 1.1s both;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 40px;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: white;
  color: #55331e;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.btn-primary:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  background: #e5d2b8;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: white;
  transform: translateY(-5px);
}

.scroll-down {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  text-align: center;
  color: white;
  cursor: pointer;
  animation: bounce 2s infinite;
}

.scroll-down span {
  display: block;
  font-size: 0.9rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.scroll-down i {
  font-size: 1.5rem;
}

/* ===========================
   ANIMATIONS
   =========================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-15px);
  }
  60% {
    transform: translateX(-50%) translateY(-8px);
  }
}

.fade-in-up {
  animation: fadeInUp 0.8s ease-out forwards;
  opacity: 0;
}

.slide-in-left {
  animation: slideInLeft 1s ease-out;
}

.slide-in-right {
  animation: slideInRight 1s ease-out;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ===========================
   QUICK STATS SECTION
   =========================== */
.quick-stats {
  padding: 80px 20px;
  background: linear-gradient(135deg, #55331e 0%, #8b6f47 100%);
  margin-top: -1px;
}

.stats-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 25px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.4s ease;
}

.stat-item:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.stat-item i {
  font-size: 3rem;
  color: #e5d2b8;
}

.stat-content h3 {
  font-size: 3rem;
  font-weight: 700;
  color: white;
  margin: 0 0 5px 0;
}

.stat-content p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

/* ===========================
   FEATURES SECTION
   =========================== */
.features-modern {
  padding: 100px 20px;
  background: #fff;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-label {
  display: inline-block;
  color: #55331e;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 15px;
  padding: 8px 20px;
  background: rgba(85, 51, 30, 0.1);
  border-radius: 30px;
}

.section-title {
  font-size: 3rem;
  color: #222;
  margin-bottom: 15px;
  font-weight: 700;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.feature-card {
  position: relative;
  padding: 40px;
  background: #f8f5f2;
  border-radius: 20px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #55331e, #8b6f47);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card:hover {
  transform: translateY(-10px);
  background: white;
  box-shadow: 0 20px 50px rgba(85, 51, 30, 0.15);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #55331e, #8b6f47);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  transition: all 0.4s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
}

.feature-icon i {
  font-size: 2rem;
  color: white;
}

.feature-content h3 {
  font-size: 1.5rem;
  color: #222;
  margin-bottom: 15px;
  font-weight: 700;
}

.feature-content p {
  font-size: 1rem;
  line-height: 1.7;
  color: #666;
  margin-bottom: 20px;
}

.feature-link {
  color: #55331e;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.feature-link:hover {
  gap: 12px;
  color: #8b6f47;
}

.feature-number {
  position: absolute;
  bottom: 20px;
  right: 20px;
  font-size: 5rem;
  font-weight: 900;
  color: rgba(85, 51, 30, 0.05);
  line-height: 1;
}

/* ===========================
   WHY CHOOSE US SECTION
   =========================== */
.why-choose-us {
  padding: 100px 20px;
  background: linear-gradient(135deg, #f8f5f2 0%, #e5d2b8 100%);
}

.why-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.image-container {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.image-container img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s ease;
}

.why-image:hover .image-container img {
  transform: scale(1.08);
}

.image-badge {
  position: absolute;
  bottom: 30px;
  left: 30px;
  padding: 15px 25px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: #55331e;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.image-badge i {
  color: #55331e;
  font-size: 1.2rem;
}

.section-description {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 30px;
}

.why-points {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-bottom: 40px;
}

.why-point {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.point-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #55331e, #8b6f47);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.point-icon i {
  color: white;
  font-size: 1.2rem;
}

.point-content h4 {
  font-size: 1.2rem;
  color: #222;
  margin-bottom: 8px;
  font-weight: 700;
}

.point-content p {
  font-size: 1rem;
  color: #666;
  line-height: 1.6;
}

.btn-learn-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 35px;
  background: #55331e;
  color: white;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.4s ease;
}

.btn-learn-more:hover {
  background: #8b6f47;
  transform: translateX(5px);
  gap: 15px;
}

/* ===========================
   PORTFOLIO PREVIEW SECTION
   =========================== */
.portfolio-preview {
  padding: 100px 20px;
  background: #fff;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.portfolio-item {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  cursor: pointer;
}

.portfolio-image {
  position: relative;
  height: 350px;
  overflow: hidden;
}

.portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.portfolio-item:hover .portfolio-image img {
  transform: scale(1.15);
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(85, 51, 30, 0.95), transparent);
  display: flex;
  align-items: flex-end;
  padding: 30px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-info {
  color: white;
  width: 100%;
}

.portfolio-category {
  display: inline-block;
  padding: 5px 15px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.portfolio-info h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
}

.view-project {
  width: 45px;
  height: 45px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #55331e;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.view-project:hover {
  transform: scale(1.1);
  background: #e5d2b8;
}

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

.btn-view-all {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 40px;
  background: transparent;
  color: #55331e;
  border: 2px solid #55331e;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.4s ease;
}

.btn-view-all:hover {
  background: #55331e;
  color: white;
  gap: 15px;
}

/* ===========================
   TESTIMONIALS SECTION
   =========================== */
.testimonials-section {
  position: relative;
  padding: 100px 20px;
  background: #f8f5f2;
  overflow: hidden;
}

.testimonial-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('https://images.unsplash.com/photo-1497366216548-37526070297c?w=1920&q=80');
  background-size: cover;
  background-position: center;
  opacity: 0.05;
}

.testimonials-slider {
  position: relative;
  max-width: 900px;
  margin: 0 auto 40px;
  min-height: 400px;
}

.testimonial-card {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  opacity: 0;
  transform: translateX(100px);
  transition: all 0.6s ease;
  pointer-events: none;
}

.testimonial-card.active {
  position: relative;
  opacity: 1;
  transform: translateX(0);
  pointer-events: all;
}

.testimonial-content {
  background: white;
  padding: 50px;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.quote-icon {
  font-size: 3rem;
  color: #55331e;
  opacity: 0.2;
  margin-bottom: 20px;
}

.testimonial-text {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #333;
  margin-bottom: 30px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 20px;
}

.testimonial-author img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #55331e;
}

.author-info h4 {
  font-size: 1.2rem;
  color: #222;
  margin-bottom: 5px;
}

.author-info p {
  color: #666;
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.rating {
  color: #FFD700;
  font-size: 0.9rem;
}

.testimonial-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.testimonial-prev,
.testimonial-next {
  width: 50px;
  height: 50px;
  background: #55331e;
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.testimonial-prev:hover,
.testimonial-next:hover {
  background: #8b6f47;
  transform: scale(1.1);
}

.testimonial-dots {
  display: flex;
  gap: 10px;
}

.dot {
  width: 12px;
  height: 12px;
  background: #ccc;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: #55331e;
  width: 30px;
  border-radius: 6px;
}

/* ===========================
   CTA SECTION
   =========================== */
.cta-home {
  position: relative;
  padding: 120px 20px;
  background-image: url('https://images.unsplash.com/photo-1492684223066-81342ee5ff30?w=1920&q=80');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.cta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(85, 51, 30, 0.92), rgba(139, 111, 71, 0.88));
}

.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
}

.cta-content h2 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.cta-content p {
  font-size: 1.4rem;
  margin-bottom: 40px;
  opacity: 0.95;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-cta-primary,
.btn-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 45px;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.4s ease;
}

.btn-cta-primary {
  background: white;
  color: #55331e;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.btn-cta-primary:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  background: #e5d2b8;
}

.btn-cta-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 2px solid white;
  backdrop-filter: blur(10px);
}

.btn-cta-secondary:hover {
  background: white;
  color: #55331e;
  transform: translateY(-5px);
}

/* ===========================
   RESPONSIVE DESIGN
   =========================== */
@media (max-width: 968px) {
  .hero-title {
    font-size: 3rem;
  }

  .why-wrapper {
    grid-template-columns: 1fr;
    gap: 50px;
  }

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

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

  .cta-content h2 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-description {
    font-size: 1.1rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .stats-wrapper {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .testimonial-content {
    padding: 30px;
  }

  .testimonial-text {
    font-size: 1rem;
  }
}

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

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

  .stat-item {
    flex-direction: column;
    text-align: center;
  }

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

  .cta-content h2 {
    font-size: 2rem;
  }
}
