/* FlightPath-inspired Luxury Design */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500&family=Oswald:wght@400;500&family=Playfair+Display:ital,wght@0,400;0,600;1,400&display=swap');

:root {
  --bg-color: #050505;
  --text-color: #ffffff;
  --accent-gold: #ffffff;
  --accent-silver: #E5E4E2;
  --text-muted: #888888;
  --font-heading: 'Playfair Display', serif;
  --font-sub: 'Oswald', sans-serif;
  --font-body: 'Inter', sans-serif;
}



body {
  background: radial-gradient(ellipse at bottom, #1b2735 0%, #090a0f 100%);
  color: var(--text-color);
  font-family: var(--font-body);
  overflow-x: hidden;
  line-height: 1.6;
  position: relative;
}

body::before,
body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(1px 1px at 20px 30px, #ffffff, rgba(0, 0, 0, 0)),
    radial-gradient(1px 1px at 40px 70px, #ffffff, rgba(0, 0, 0, 0)),
    radial-gradient(1px 1px at 50px 160px, #ffffff, rgba(0, 0, 0, 0)),
    radial-gradient(1px 1px at 90px 40px, #ffffff, rgba(0, 0, 0, 0)),
    radial-gradient(1px 1px at 130px 80px, #ffffff, rgba(0, 0, 0, 0)),
    radial-gradient(1.5px 1.5px at 160px 120px, #ffffff, rgba(0, 0, 0, 0));
  background-repeat: repeat;
  background-size: 200px 200px;
  opacity: 0.5;
  animation: twinkle 5s infinite alternate;
}

body::after {
  background-size: 300px 300px;
  animation-duration: 7s;
  opacity: 0.3;
}

@keyframes twinkle {
  0% {
    opacity: 0.3;
    transform: scale(1);
  }

  100% {
    opacity: 0.7;
    transform: scale(1.1);
  }
}

h3 {
  font-family: var(--font-heading);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

/* Navbar - White Theme */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 0.8rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  background: #ffffff;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
}

.logo {
  font-family: var(--font-sub);
  font-size: 1.5rem;
  font-weight: bold;
  letter-spacing: 0.1em;
  color: #000000;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-sub);
  font-size: 0.95rem;
  color: #000000;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  position: relative;
}

.nav-links a:hover {
  color: #555555;
  text-shadow: none;
}

/* Hero Section Centering */
.hero {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100%;
}

.hero-text {
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 20px;
}

.hero-text h1 {
  font-size: 4rem;
  line-height: 1.2;
  margin-bottom: 2rem;
  background: linear-gradient(to right, #fff, #ccc);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-text p {
  font-family: var(--font-sub);
  font-size: 1rem;
  letter-spacing: 0.2em;
  color: var(--accent-gold);
  text-transform: uppercase;
  margin-bottom: 3rem;
}

.hero-btn {
  display: inline-block;
  padding: 1rem 3rem;
  border-radius: 50px;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-family: var(--font-sub);
  font-size: 1rem;
  letter-spacing: 0.1em;
  color: #fff;
  text-decoration: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow:
    0 0 20px rgba(255, 255, 255, 0.1),
    inset 0 0 20px rgba(255, 255, 255, 0.05);
  transition: all 0.5s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.hero-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.2),
      transparent);
  transition: 0.5s;
  z-index: -1;
}

.hero-btn:hover {
  background: rgba(20, 20, 20, 0.8);
  border-color: rgba(255, 255, 255, 0.8);
  box-shadow:
    0 0 30px rgba(255, 255, 255, 0.4),
    inset 0 0 20px rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
  letter-spacing: 0.15em;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.hero-btn:hover::before {
  left: 100%;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-sub);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  color: var(--text-muted);
  animation: fadeUpDown 2s infinite;
}

@keyframes fadeUpDown {

  0%,
  100% {
    opacity: 0.3;
    transform: translateX(-50%) translateY(0);
  }

  50% {
    opacity: 1;
    transform: translateX(-50%) translateY(-10px);
  }
}

/* Model Sections (1-3) */
.models-grid {
  display: flex;
  flex-direction: column;
  gap: 10vh;
  padding-bottom: 10vh;
}

.model-card {
  height: 70vh;
  min-height: 500px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10%;
  position: relative;
}

/* 1st model: text left, model right */
.model-card:nth-child(1) {
  flex-direction: row;
}

/* 2nd model: text left, model RIGHT */
.model-card:nth-child(2) {
  flex-direction: row;
}

/* 3rd model: text left, model right */
.model-card:nth-child(3) {
  flex-direction: row;
}

.model-info {
  flex: 1;
  max-width: 400px;
  z-index: 2;
  padding-right: 2rem;
}

.chapter-num {
  font-family: var(--font-sub);
  font-size: 1rem;
  color: var(--accent-gold);
  letter-spacing: 0.2em;
  margin-bottom: 1rem;
  display: block;
}

.model-card h2 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-color);
}

.model-card p {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 2rem;
}

.model-viewer-container {
  flex: 1.5;
  height: 80vh;
  position: relative;
}

model-viewer {
  width: 100%;
  height: 100%;
  --poster-color: transparent;
}

/* Projects (Aurora) */
.section {
  padding: 10vh 0;
  background: transparent;
}

.aurora-header {
  text-align: center;
  margin-bottom: 5rem;
}

.aurora-header h2 {
  font-size: 4rem;
  color: var(--text-color);
}

.aurora-header p {
  font-family: var(--font-sub);
  color: var(--accent-gold);
  letter-spacing: 0.2em;
}

.aurora-container {
  width: 100%;
  overflow-x: auto;
  padding: 0 5%;
  scrollbar-width: none;
}

.aurora-scroll {
  display: flex;
  gap: 2rem;
  width: max-content;
}

.aurora-item {
  width: 350px;
  height: 500px;
  position: relative;
  background-size: cover;
  background-position: center;
  /* Removed filter: grayscale/brightness for clarity */
  transition: all 0.5s ease;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.aurora-item:hover {
  /* Removed filter change since default is now clear */
  transform: scale(1.02);
  border-color: var(--accent-gold);
}

.aurora-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
}

.aurora-content h3 {
  font-family: var(--font-sub);
  font-size: 1.5rem;
  color: var(--text-color);
  margin-bottom: 0.5rem;
}

.aurora-num {
  font-family: var(--font-sub);
  color: var(--accent-gold);
  font-size: 0.9rem;
}

/* Add Project Button */
.add-project-button {
  background: transparent;
  color: var(--text-color);
  border: 1px solid var(--accent-gold);
  padding: 1rem 3rem;
  font-family: var(--font-sub);
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 3rem;
}

.add-project-button:hover {
  background: var(--accent-gold);
  color: #000;
}

/* CTA Section */
.cta-section {
  text-align: center;
  padding: 10vh 2rem;
  background: transparent;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-section h2 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.cta-section p {
  font-family: var(--font-sub);
  font-size: 1rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 3rem;
}

/* Why LGS Section */
#why-lgs {
  padding: 10vh 5%;
  background: transparent;
}

.lgs-container {
  max-width: 1200px;
  margin: 0 auto;
}

.lgs-header {
  text-align: center;
  margin-bottom: 4rem;
}

.lgs-header h2 {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  color: var(--text-color);
}

.lgs-header p {
  font-family: var(--font-sub);
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 800px;
  margin: 0 auto;
  letter-spacing: 0.05em;
}

.lgs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 5rem;
}

.lgs-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem;
  transition: all 0.3s ease;
}

.lgs-card:hover {
  border-color: var(--accent-gold);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  background: rgba(255, 255, 255, 0.05);
}

.lgs-card h3 {
  font-family: var(--font-sub);
  color: var(--accent-gold);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.lgs-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}


/* Updated Service Card Styling (Vertical Layout) */
.service-card {
  padding: 0 !important;
  /* Override lgs-card padding to let image be flush */
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-card-content {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-icon {
  width: 100%;
  height: 250px;
  /* Fixed height for consistent look */
  object-fit: cover;
  border-radius: 0;
  flex-shrink: 0;
  background-color: rgba(255, 255, 255, 0.05);
}

.service-card-content>div {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  flex: 1;
}

/* Ensure title doesn't break layout */
.service-card-content h3 {
  margin-top: 0;
}

.lgs-comparison-header {
  text-align: center;
  margin-bottom: 3rem;
}

.lgs-comparison-header h3 {
  font-size: 2rem;
  color: var(--text-color);
}

.lgs-comparison-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.comparison-item {
  border-left: 2px solid var(--accent-gold);
  padding-left: 1.5rem;
}

.comparison-item h4 {
  font-family: var(--font-sub);
  color: var(--text-color);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.comparison-item p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.lgs-outro {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
  border: 1px solid var(--accent-gold);
}

.lgs-outro p {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--text-color);
  font-style: italic;
}

/* FAQ Section */
.faq-section {
  padding: 5rem 10%;
  max-width: 1000px;
  margin: 0 auto;
}

.faq-section h2 {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  text-align: center;
  color: var(--text-color);
}

.accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.accordion-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.accordion-header {
  width: 100%;
  padding: 1.5rem 0;
  background: transparent;
  border: none;
  color: var(--text-color);
  font-family: var(--font-sub);
  font-size: 1.2rem;
  text-align: center;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s ease;
}

.accordion-header:hover {
  color: var(--accent-gold);
}

.accordion-header::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
}

.accordion-header.active::after {
  content: '-';
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.accordion-content p {
  padding-bottom: 1.5rem;
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 1rem;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 2000;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal.show {
  opacity: 1;
}

.modal-content {
  background: #111;
  border: 1px solid #333;
  width: 90%;
  max-width: 1200px;
  display: flex;
  flex-direction: column;
}

/* Contact Us Section */
.contact-section {
  padding: 10vh 5%;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.contact-item:hover {
  border-color: var(--accent-gold);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  background: rgba(255, 255, 255, 0.05);
}

.contact-icon {
  font-size: 2.5rem;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.contact-details h4 {
  font-family: var(--font-sub);
  font-size: 1.1rem;
  color: var(--accent-gold);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-details a,
.contact-details p {
  color: var(--text-muted);
  font-size: 1rem;
  transition: color 0.3s ease;
}

.contact-details a:hover {
  color: var(--text-color);
}

.contact-form-wrapper {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2.5rem;
  border-radius: 8px;
}

.contact-form h3 {
  font-family: var(--font-sub);
  font-size: 1.5rem;
  color: var(--text-color);
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.form-group {
  margin-bottom: 1.5rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  color: var(--text-color);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent-gold);
  background: rgba(0, 0, 0, 0.5);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--text-muted);
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-submit-btn {
  width: 100%;
  padding: 1rem 2rem;
  background: transparent;
  border: 1px solid var(--accent-gold);
  color: var(--text-color);
  font-family: var(--font-sub);
  font-size: 1rem;
  letter-spacing: 0.2em;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
}

.contact-submit-btn:hover {
  background: var(--accent-gold);
  color: #000;
}

/* Footer */
footer {
  padding: 5rem 5%;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.footer-column h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.footer-column ul li a {
  color: var(--text-muted);
  font-family: var(--font-sub);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
}

.footer-column ul li a:hover {
  color: var(--accent-gold);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-text h1 {
    font-size: 3.5rem;
  }

  .model-card {
    flex-direction: column !important;
    justify-content: center;
    text-align: center;
  }

  .model-info {
    margin-bottom: 2rem;
    padding-right: 0;
  }

  .model-viewer-container {
    height: 50vh;
    width: 100%;
  }

  .nav-links {
    gap: 0.5rem;
  }

  .nav-links a {
    font-size: 0.65rem;
    padding: 0.3rem 0.4rem;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 1rem;
  }

  .nav-links {
    display: none;
  }

  .hero-text h1 {
    font-size: 2.5rem;
  }

  .aurora-header h2 {
    font-size: 2.5rem;
  }

  .contact-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-item:hover {
    transform: none;
  }
}

/* Enhanced Modal Styles */
.modal-info {
  padding: 3rem !important;
  background: linear-gradient(to bottom, #111, #050505);
  border-top: 1px solid #222;
  overflow-y: auto;
  max-height: 40vh;
}

.modal-info h2 {
  font-family: 'Oswald', sans-serif;
  font-size: 2.5rem;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  color: #fff;
  letter-spacing: 1px;
  border-bottom: 1px solid var(--accent-gold);
  padding-bottom: 0.5rem;
  display: inline-block;
}

.modal-info p {
  font-size: 1.1rem;
  color: #ccc;
  line-height: 1.8;
  font-weight: 300;
  max-width: 800px;
}

.stars {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}