/*
Theme Name: MagneTerra Theme
Author: Mude Developer
Description: Custom theme for MagnaTerra Technologies
Version: 1.0
Text Domain: MagneTerra-theme
*/

.page-wrapper {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  background-size: contain;
  background-position: center !important;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  padding: 100px 0;
  position: relative;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.coming-soon {
  display: inline-block;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.70);
  font-size: 32px;
  font-style: normal;
  font-weight: 300;
  line-height: 60px;
}

.hero-title {
  color: #FFF;
  font-size: 80px;
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 30px;
  max-width: 800px;
}

.hero-description {
  color: #FFF;
  font-size: 24px;
  font-weight: 300;
  line-height: normal;
  max-width: 700px;
}

/* Technology Section */
.technology-section {
  padding: 100px 0;
  background-color: #000;
}

.section-title {
  color: #FFF;
  font-size: 60px;
  font-weight: 300;
  margin-bottom: 60px;
}

.technology-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.tech-card {
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.60);
  padding: 40px 30px;
  height: 580px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  transition: transform 0.3s ease;
}

.tech-card:hover {
  transform: translateY(-10px);
}

.card-1,
.card-2,
.card-3 {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(249, 80, 53, 0.36) 0%, rgba(0, 0, 0, 0.60) 10%);
}

.card-1::before,
.card-2::before,
.card-3::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 10%;
  background: linear-gradient(180deg,
      rgba(249, 80, 53, 0.60) 0%,
      rgba(0, 0, 0, 0.60) 100%);
  transition: height 0.6s ease;
  z-index: 0;
}

.card-1:hover::before,
.card-2:hover::before,
.card-3:hover::before {
  height: 70%;
}

/* Make sure card content appears above the ::before layer */
.card-1>*,
.card-2>*,
.card-3>* {
  position: relative;
  z-index: 1;
}

.card-icon img {
  width: 60px;
  height: 60px;
}

.card-title {
  color: #FFF;
  font-size: 40px;
  font-weight: 400;
  line-height: normal;
  letter-spacing: 1.6px;
}

.card-line {
  background: rgba(255, 255, 255, 0.60);
  height: 0.5px;
  border: none;
}

.card-description {
  color: #A6A6A6;
  font-size: 20px;
  font-weight: 300;
  line-height: normal;
  letter-spacing: 0.8px;
}

/* Nextore and MRead Sections */
.nextore-section,
.mread-section {
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  will-change: transform, opacity;
  min-height: 100vh;
  padding: 100px 0;
  background-size: cover;
  background-position: center !important;
  background-repeat: no-repeat !important;
  position: relative;
}

.transition-section {
  min-height:40vh;
  background: black;
  position: relative;
  width: 100%;
  z-index: 0;
}

.nextore-section {
  z-index: 1;
}

.mread-section {
  z-index: 2;
}

/* Fallback for when JavaScript is disabled */
.no-js .nextore-section,
.no-js .mread-section {
  opacity: 1;
  transform: translateY(0);
}

.nextore-section:before,
.mread-section:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.7) 100%);
  z-index: 1;
}

.nextore-content,
.mread-content {
  position: relative;
  z-index: 2;
}

.mread-content {
  text-align: right;
  align-items: end;
}

.nextore-logo,
.mread-logo {
  margin-bottom: 50px;
}

.full-line {
  width: 100%;
  border: none;
  height: 0.5px;
  background: rgba(255, 255, 255, 0.60);
  margin-bottom: 50px;
}

.nextore-logo img,
.mread-logo img {
  height: 60px;
  width: auto;
}

.nextore-description,
.mread-description {
  color: #FFF;
  font-size: 36px;
  font-weight: 300;
  line-height: 70px;
  margin-bottom: 40px;
  max-width: 700px;
}
.mread-description {
margin-left: auto; /* pushes element to the right */
}
.btn-learn-more {
  display: inline-flex;
  padding: 12px 40px;
  align-items: center;
  gap: 12px;
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 30px;
  color: #FFF;
  font-size: 28px;
  font-weight: 300;
  letter-spacing: 1.12px;
  transition: all 0.3s ease;
}

.btn-learn-more:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-5px);
}

.arrow-icon {
  font-size: 24px;
  transition: transform 0.3s ease;
}

.btn-learn-more:hover .arrow-icon {
  transform: translateX(5px);
}



/* Media Queries for Responsiveness */
@media screen and (max-width: 1200px) {
  .hero-title {
    font-size: 65px;
  }

  .card-title {
    font-size: 32px;
  }
}

@media screen and (max-width: 992px) {
  .hero-title {
    font-size: 50px;
  }

  .section-title {
    font-size: 48px;
  }

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

  .nextore-description,
  .mread-description {
    font-size: 30px;
    line-height: 55px;
  }
}

@media screen and (max-width: 768px) {
  .hero-section {
    min-height: 90vh;
    background-size: cover;
  }

  .hero-section .container {
    margin-top: auto;
  }

  .hero-title {
    font-size: 40px;
  }

  .hero-description {
    font-size: 20px;
  }

  .technology-cards {
    grid-template-columns: 1fr;
  }

  .nextore-description,
  .mread-description {
    font-size: 26px;
    line-height: 45px;
  }

  .btn-learn-more {
    font-size: 22px;
    padding: 10px 30px;
  }
}

@media screen and (max-width: 576px) {

  .hero-title {
    font-size: 34px;
  }

  .section-title {
    font-size: 36px;
    margin-bottom: 40px;
  }

  .card-title {
    font-size: 28px;
  }

  .card-description {
    font-size: 18px;
  }

  .nextore-description,
  .mread-description {
    font-size: 22px;
    line-height: 36px;
  }

  .btn-learn-more {
    font-size: 18px;
    padding: 8px 24px;
  }
} 