
/*      
Theme Name: Empraise Global Child      
Theme URI: https://empraise-global.com      
Description: Dark & Elegant Child Theme for Elementor-based Real Estate & Oil & Gas site      
Author: Empraise Global      
Author URI: https://empraise-global.com      
Template: hello-elementor      
Version: 1.1.0      
*/    
    
/* ---------- Base Styles ---------- */    
body {    
  font-family: "Open Sans", Arial, sans-serif;    
  color: #e4e6eb;    
  background-color: #0a0f1c;    
  line-height: 1.6;    
}    
    
a {    
  color: var(--gold, #ffd700);    
  transition: color 0.3s ease;    
}    
    
a:hover {    
  color: #ffea8a;    
}    
    
:root {    
  --gold: #ffd700;    
  --navy: #0b2140;    
  --dark-navy: #081427;    
  --muted: #9aa0ac;    
}    
    
/* ---------- Hero Section ---------- */    
.empraise-hero {    
  min-height: 520px;    
  display: flex;    
  align-items: center;    
  background-size: cover;    
  background-position: center;    
  position: relative;    
  color: #fff;    
  padding: 60px 20px;    
}    
    
.empraise-hero::after {    
  content: "";    
  position: absolute;    
  inset: 0;    
  background: linear-gradient(135deg, rgba(6, 18, 44, 0.85) 0%, rgba(2, 49, 89, 0.85) 100%);    
  z-index: 0;    
}    
    
.empraise-hero .hero-inner {    
  max-width: 1200px;    
  margin: 0 auto;    
  position: relative;    
  z-index: 5;    
}    
    
.empraise-hero h1 {    
  font-size: 40px;    
  font-weight: 700;    
  margin-bottom: 16px;    
  color: var(--gold);    
}    
    
.empraise-hero p {    
  font-size: 18px;    
  color: #cfd7e3;    
  margin-bottom: 24px;    
}    
    
/* Buttons */    
.empraise-hero .hero-ctas .btn {    
  display: inline-block;    
  padding: 12px 22px;    
  border-radius: 6px;    
  text-decoration: none;    
  font-weight: 600;    
  margin-right: 12px;    
}    
    
.empraise-hero .btn-primary {    
  background: var(--gold);    
  color: var(--dark-navy);    
}    
    
.empraise-hero .btn-outline {    
  background: transparent;    
  border: 2px solid rgba(255, 255, 255, 0.7);    
  color: #fff;    
}    
    
.empraise-hero .btn-primary:hover {    
  background: #ffea8a;    
}    
    
/* ---------- Properties Grid ---------- */    
.empraise-properties {    
  display: grid;    
  gap: 24px;    
  margin: 30px 0;    
}    
    
.empraise-properties.columns-3 {    
  grid-template-columns: repeat(3, 1fr);    
}    
    
.property-item {    
  background: #121a2b;    
  border-radius: 10px;    
  overflow: hidden;    
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);    
  transition: transform 0.25s ease, box-shadow 0.25s ease;    
}    
    
.property-item:hover {    
  transform: translateY(-6px);    
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);    
}    
    
.property-img {    
  height: 220px;    
  background-size: cover;    
  background-position: center;    
}    
    
.property-body {    
  padding: 16px;    
}    
    
.property-title {    
  margin-bottom: 8px;    
  font-size: 18px;    
  font-weight: 600;    
  color: #fff;    
}    
    
.property-price {    
  color: var(--gold);    
  font-weight: 700;    
  margin-bottom: 8px;    
}    
    
.property-location {    
  font-size: 14px;    
  color: var(--muted);    
  margin-bottom: 8px;    
}    
    
.btn-property {    
  display: inline-block;    
  padding: 8px 12px;    
  background: var(--gold);    
  color: var(--dark-navy);    
  border-radius: 6px;    
  text-decoration: none;    
  font-weight: 600;    
}    
    
.btn-property:hover {    
  background: #ffea8a;    
}    
    
/* ---------- About Section ---------- */    
.hero-right {    
  color: #eaf1ff;    
}    
    
.about-top {    
  display: flex;    
  justify-content: space-between;    
  align-items: center;    
  flex-wrap: wrap;    
  gap: 20px;    
}    
    
.about-title {    
  color: var(--gold);    
  font-weight: 700;    
}    
    
.about-desc {    
  font-size: 14px;    
  color: #cfd7e3;    
  margin-top: 6px;    
  max-width: 500px;    
}    
    
.about-main-stat {    
  text-align: right;    
}    
    
.about-main-stat .main-num {    
  font-weight: 800;    
  font-size: 22px;    
  color: var(--gold);    
}    
    
.stats {    
  display: flex;    
  gap: 20px;    
  margin-top: 14px;    
  flex-wrap: wrap;    
}    
    
.stat {    
  flex: 1;    
  min-width: 140px;    
}    
    
.num {    
  font-weight: 700;    
  font-size: 18px;    
  color: var(--gold);    
}    
    
.label {    
  font-size: 13px;    
  color: var(--muted);    
}    
    
/* Mobile Fix */    
@media (max-width: 768px) {    
  .about-top {    
    flex-direction: column;    
    align-items: flex-start;    
    text-align: left;    
  }    
    
  .about-main-stat {    
    text-align: left;    
  }    
    
  .stats {    
    flex-direction: column;    
  }    
    
  .stat {    
    min-width: 100%;    
  }    
}    
    
/* ---------- Header ---------- */    
header {    
  background: var(--dark-navy);    
  color: white;    
  padding: 15px 0;    
}    
    
.nav-links li a:hover {    
  background: var(--gold);    
  color: var(--dark-navy);    
}    
    
/* About Section Responsive */    
.hero-right {    
  max-width: 100%;    
}    
    
.hero-right .about-container {    
  display: flex;    
  justify-content: space-between;    
  align-items: center;    
  flex-wrap: wrap; /* allow wrapping on small screens */    
}    
    
.hero-right .about-container > div {    
  flex: 1 1 100%; /* take full width on small devices */    
  margin-bottom: 10px;    
}    
    
.hero-right .about-container > div:last-child {    
  text-align: right;    
}    
    
.hero-right .stats {    
  display: grid;    
  grid-template-columns: repeat(3, 1fr);    
  gap: 15px;    
}    
    
.hero-right .stat {    
  background: rgba(255, 255, 255, 0.05);    
  padding: 10px;    
  border-radius: 5px;    
  text-align: center;    
}    
    
.hero-right .stat .num {    
  font-weight: bold;    
  font-size: 18px;    
  color: var(--gold);    
}    
    
.hero-right .stat .label {    
  font-size: 13px;    
  color: #eaf1ff;    
}    
    
/* Tablet view */    
@media (max-width: 992px) {    
  .hero-right .stats {    
    grid-template-columns: repeat(2, 1fr);    
  }    
}    
    
/* Mobile view */    
@media (max-width: 600px) {    
  .hero-right .about-container {    
    flex-direction: column;    
    text-align: center;    
  }    
  .hero-right .about-container > div:last-child {    
    text-align: center;    
  }    
  .hero-right .stats {    
    grid-template-columns: 1fr;    
  }    
}    
    
/* ===== Scoped Mobile Nav (drop-in) ===== */    
.topbar { position: relative; z-index: 2200; }    
    
/* Toggle button */    
.topbar .menu-toggle {    
  display: none;    
  background: none;    
  border: none;    
  font-size: 1.8rem;    
  color: #fff;    
  cursor: pointer;    
  padding: 6px 8px;    
  line-height: 1;    
  border-radius: 8px;    
}    
    
/* Desktop nav layout inside topbar */    
.topbar .nav-links {    
  list-style: none;    
  display: flex;    
  gap: 18px;    
  margin: 0;    
  padding: 0;    
  align-items: center;    
}    
.topbar .nav-links li a {    
  color: #fff;    
  text-decoration: none;    
  padding: 8px 12px;    
  border-radius: 8px;    
  display: inline-block;    
}    
.topbar .nav-links li a:hover {    
  background: var(--gold, #ffd700);    
  color: var(--dark-navy, #081427);    
}    
    
/* ===== Mobile / Tablet (off-canvas) ===== */    
@media (max-width: 768px) {    
  .topbar .menu-toggle { display: block; }    
    
  /* Hide desktop nav from view - we keep it in DOM for accessibility */    
  .topbar .nav-links {    
    position: fixed;    
    top: 66px; /* adjust if your header is taller */    
    right: 0;    
    height: calc(100% - 66px);    
    width: 300px;    
    max-width: 86%;    
    background: rgba(3,10,22,0.98);    
    -webkit-backdrop-filter: blur(6px);    
    backdrop-filter: blur(6px);    
    box-shadow: -10px 0 30px rgba(0,0,0,0.6);    
    flex-direction: column;    
    align-items: flex-start;    
    padding: 18px;    
    gap: 12px;    
    transform: translateX(110%);    
    transition: transform .32s cubic-bezier(.2,.9,.3,1);    
    visibility: hidden;    
  }    
    
  /* When open: slide into view */    
  .topbar .nav-links.open {    
    transform: translateX(0);    
    visibility: visible;    
  }    
    
  .topbar .nav-links li { width: 100%; }    
  .topbar .nav-links li a {    
    width: 100%;    
    padding: 12px 14px;    
    color: #e8f1ff;    
    font-weight:600;    
  }    
    
  /* Optional: dim page behind menu when open (requires a .nav-dim element or body class — handled in JS below) */    
  .nav-dim {    
    position: fixed;    
    inset: 0;    
    background: rgba(0,0,0,0.45);    
    z-index: 2100;    
    display: none;    
  }    
  .nav-dim.visible { display:block; }    
}    
    
/* Mobile menu button */    
.menu-toggle {    
  display: none; /* hidden on desktop */    
  background: var(--orange);    
  color: var(--deep-dark);    
  font-size: 28px;    
  padding: 8px 12px;    
  border: none;    
  border-radius: 6px;    
  cursor: pointer;    
  z-index: 1001;    
  position: relative;    
}    
    
/* Mobile nav links container */    
.nav-links {    
  display: flex;    
  gap: 16px;    
  align-items: center;    
  flex-wrap: wrap;    
}    
    
/* Media query for mobile */    
@media (max-width: 768px) {    
  .menu-toggle {    
    display: block; /* show toggle button on mobile */    
  }    
    
  .nav-links {    
    display: none; /* hide links initially */    
    flex-direction: column;    
    position: absolute;    
    top: 60px; /* adjust based on header height */    
    left: 0;    
    width: 100%;    
    background: var(--dark-bg);    
    padding: 15px 0;    
    border-radius: 0 0 12px 12px;    
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);    
    z-index: 1000;    
  }    
    
  .nav-links.open {    
    display: flex; /* show menu when toggle is clicked */    
  }    
    
  .nav-links li {    
    width: 100%;    
    text-align: center;    
    margin: 0;    
    padding: 0;    
  }    
    
  .nav-links li a {    
    display: block;    
    padding: 12px 20px;    
    border-bottom: 1px solid rgba(255,122,0,0.1);    
    text-decoration: none;    
    color: var(--text-light);    
    font-weight: 600;    
    transition: background 0.3s, color 0.3s;    
  }    
    
  .nav-links li a:hover,    
  .nav-links li a.active {    
    background: rgba(255,122,0,0.15);    
    color: var(--orange);    
  }    
}


/* === FOOTER STYLING === */
.site-footer {
  background: #1a1a1a;
  padding: 40px 20px;
  color: #aaa;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  text-align: center;
  gap: 20px;
}

/* Left (copyright) aligns left, right (credit) aligns right on large screens */
.footer-left {
  text-align: left;
}
.footer-center {
  text-align: center;
}
.footer-right {
  text-align: right;
}

/* Footer links */
.site-footer a {
  color: #d4af37; /* gold accent */
  text-decoration: none;
  margin: 0 10px;
  font-weight: 600;
  transition: color 0.3s ease, border-bottom 0.3s ease;
}

.site-footer a:hover {
  color: var(--orange);
  border-bottom: 2px solid var(--orange);
}

/* Responsive: Stack on small screens */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-left, .footer-right {
    text-align: center;
    margin-top: 10px;
  }
}