/* Mobile-only stylesheet (auto-loaded via media attribute) */

/* Mobile Navigation */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 25px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 10;
}

.mobile-menu-toggle span {
  width: 100%;
  height: 3px;
  background: var(--champagne-beige);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Hide mobile toggle on desktop */
@media (min-width: 769px) {
  .mobile-menu-toggle {
    display: none;
  }
}

/* Show mobile toggle on mobile */
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--steel-marine);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 0;
    padding-top: 80px;
    transition: right 0.3s ease;
    z-index: 5;
    box-shadow: -5px 0 15px rgba(0,0,0,0.2);
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .nav-links li {
    width: 100%;
    margin: 0;
    padding: 0.75rem 2rem;
    border-bottom: 1px solid rgba(245, 232, 211, 0.2);
  }
  
  .nav-links li:first-child {
    margin-top: 0;
  }
  
  .nav-links li:last-child {
    border-bottom: none;
  }
  
  .nav-links a {
    display: block;
    width: 100%;
    padding: 0.5rem 0;
    font-size: 1.1rem;
    font-weight: 500;
  }
}

/* Kill heavy layers on phones */
.layered-section::before,
.layered-section::after { display: none !important; }

/* Nav */
.nav-bar { padding: 0.6rem 1rem; flex-wrap: wrap; }
.nav-links { gap: 0.5rem; font-size: 0.9rem; flex-wrap: wrap; justify-content: flex-end; }

/* Hero */
.hero { padding: 1rem; gap: 0.75rem; min-height: 92vh; overflow: hidden; }
.hero-logo { width: clamp(160px, 50vw, 300px); margin: -15vh auto 0.5rem; }
.hero-brand-name { 
  font-size: clamp(1.8rem, 7vw, 2.5rem); 
  margin: 1rem auto;
  letter-spacing: 0.5px;
}
.hero-title { 
  font-size: clamp(1.4rem, 6vw, 2.2rem) !important;
  line-height: 1.25;
  padding: 0 1rem !important;
  letter-spacing: 0.5px;
  max-width: 90vw;
  margin: 0 auto;
}

/* All page hero titles - force 2 lines max */
.hero-title br {
  display: inline;
}

.hero-title br::after {
  content: " ";
}

/* Video */
.intro-video-section { min-height: 62vh; padding-top: 2rem; padding-bottom: 2rem; }
.intro-fade-text { max-width: 88vw; max-height: calc(100dvh - 7rem); padding: 0.75rem 1rem; font-size: 1.25rem; line-height: 1.6; overflow: auto; -webkit-overflow-scrolling: touch; top: 46%; }
.intro-fade-text h2 { font-size: clamp(1.8rem, 6vw, 2.2rem); line-height: 1.25; letter-spacing: 0.5px; }
.intro-fade-text p { font-size: 1rem; line-height: 1.5; }
.video-controls { bottom: max(12px, env(safe-area-inset-bottom)); right: max(12px, env(safe-area-inset-right)); opacity: 1; }

/* About page video hero - mobile */
.about-video-hero { 
  height: 50vh; 
  min-height: 400px;
  padding: 1rem;
}

.about-video-hero .intro-bg-video {
  object-fit: cover;
}

.transparent-card,
.inner-page-hero .hero-content {
  padding: 1.5rem 1rem;
  max-width: 95%;
  margin: 0 auto;
  border-radius: 15px;
}

.transparent-card h1,
.inner-page-hero .hero-content h1 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.transparent-card p,
.inner-page-hero .hero-content p {
  font-size: 1rem;
  margin-top: 0.75rem;
  line-height: 1.4;
}


/* Grids */
.projects-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
.project-card { height: 340px; max-width: 100%; }
.card-front img { height: 140px; }
.testimonial-grid { grid-template-columns: 1fr; gap: 1.1rem; }

/* Footer */
.footer-top { flex-direction: column; align-items: center; text-align: center; }
.footer-brand { text-align: center; }
.footer-logo { height: 150px; margin: 0 auto 1rem; }
.footer-contact { text-align: center; }
.footer-social { 
  justify-content: center !important; 
  margin: 1rem auto 0 !important;
}
.footer-social img.social-icon { width: 48px; height: 48px; }

/* Section headings - limit to 2 lines */
h2, h3, h4 {
  font-size: clamp(1.3rem, 5vw, 1.8rem) !important;
  line-height: 1.3 !important;
  letter-spacing: 0.3px !important;
}

/* Specific section heading overrides */
.intro h2,
.why-anora h2,
.featured-projects h2,
.projects-showcase h2,
.faq-section h2,
.contact-section h2,
.location-section h2,
.floor-plans-section h2,
.specifications-section h2,
.project-gallery h2 {
  font-size: clamp(1.4rem, 5.5vw, 2rem) !important;
  line-height: 1.25 !important;
  margin-bottom: 1rem !important;
}

/* Project card titles */
.project-card h3,
.project-summary-card h3,
.spec-card h3,
.perk-card h3 {
  font-size: clamp(1.1rem, 4.5vw, 1.5rem) !important;
  line-height: 1.3 !important;
}

/* FAQ questions */
.faq-question {
  font-size: clamp(0.95rem, 4vw, 1.2rem) !important;
  line-height: 1.4 !important;
}

/* Location name */
.location-name {
  font-size: clamp(1.8rem, 6vw, 2.5rem) !important;
  letter-spacing: 1px !important;
}

/* Project hero (House of Ouro) - keep title tight */
.project-hero .hero-title {
  font-size: clamp(1.5rem, 5.5vw, 2rem) !important;
  line-height: 1.3 !important;
  letter-spacing: 0.3px !important;
}

/* Ensure "House of Ouro" stays on one line */
.project-hero .hero-title .project-name {
  display: inline-block;
  white-space: nowrap;
  font-size: clamp(2rem, 7vw, 2.5rem) !important;
  font-weight: 600 !important;
}

/* Description text below title - 2 lines, smaller size */
.project-hero .hero-title .project-description {
  display: block;
  font-size: clamp(0.9rem, 3.5vw, 1.1rem) !important;
  font-weight: 400 !important;
  line-height: 1.4 !important;
  margin-top: 0.5rem;
  color: #FFFFFF !important;
  opacity: 1 !important;
  font-family: 'Nourd', 'Montserrat', sans-serif !important;
}

/* Landscape fine-tuning */
@media (orientation: landscape) {
  /* Make overlay card wide and low profile in landscape */
  .intro-fade-text {
    top: 44%;
    max-height: 62vh;
    width: min(92vw, 900px);
    max-width: none;
    padding: 0.75rem 1.25rem;
    line-height: 1.5;
  }
  .intro-fade-text h2 { font-size: clamp(1.5rem, 5vw, 1.8rem); line-height: 1.25; }
  .intro-fade-text p { font-size: 0.98rem; }
  
  /* About page video hero landscape */
  .about-video-hero {
    height: 70vh;
    min-height: 300px;
  }
  
  .transparent-card {
    padding: 1.25rem 1.5rem;
    max-width: 85%;
  }
  
  .transparent-card h1 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
  }
  
  .transparent-card p {
    font-size: 1.1rem;
    margin-top: 0.5rem;
  }
}


