/*
Theme Name: Gurgaon Properties
Theme URI: https://gurgaonproperties.com
Author: Gurgaon Properties
Author URI: https://gurgaonproperties.com
Description: Ultra-luxury one-page real estate WordPress theme for Gurgaon Properties. Features Navy & Gold palette, cinematic hero video, glassmorphism cards, parallax sections, premium animations, and SEO-ready schema markup.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gurgaon-properties
Tags: one-page, real-estate, luxury, custom-colors, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ===========================================
   Design Tokens
=========================================== */
:root {
  --navy: #07152D;
  --navy-deep: #050E1F;
  --gold: #D4AF37;
  --gold-champagne: #E5C87A;
  --gold-soft: #B8902A;
  --white: #FFFFFF;
  --muted: rgba(255, 255, 255, 0.72);
  --border-gold: rgba(212, 175, 55, 0.18);

  --font-display: "Cormorant Garamond", "Playfair Display", serif;
  --font-sans: "Inter", system-ui, -apple-system, sans-serif;

  --shadow-gold: 0 20px 60px -20px rgba(212, 175, 55, 0.45);
  --shadow-luxe: 0 30px 80px -20px rgba(0, 0, 0, 0.6);
  --gradient-gold: linear-gradient(135deg, #E5C87A 0%, #D4AF37 50%, #E5C87A 100%);
  --gradient-navy: linear-gradient(180deg, #07152D 0%, #050E1F 100%);
}

/* ===========================================
   Reset & Base
=========================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  background: var(--navy-deep);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; transition: color 0.3s ease; }
a:hover { color: var(--gold-champagne); }
::selection { background: rgba(212, 175, 55, 0.35); color: var(--white); }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--navy-deep); }
::-webkit-scrollbar-thumb { background: var(--gradient-gold); border-radius: 4px; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; letter-spacing: -0.02em; line-height: 1.1; }
h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
p { color: var(--muted); }

.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }
.text-gold { color: var(--gold); }
.text-gradient-gold {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ===========================================
   Loading Screen
=========================================== */
.gp-loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--navy-deep);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 1.5rem;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}
.gp-loader.hidden { opacity: 0; visibility: hidden; }
.gp-loader__logo { width: 140px; animation: reveal-up 1s ease both; }
.gp-loader__tagline {
  font-family: var(--font-display); font-size: 1.25rem; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--gold);
  animation: reveal-up 1s ease 0.3s both;
}
.gp-loader__bar {
  width: 200px; height: 2px; background: rgba(212,175,55,0.15); overflow: hidden;
}
.gp-loader__bar::after {
  content: ""; display: block; height: 100%; width: 40%;
  background: var(--gradient-gold);
  animation: gold-sweep 1.4s ease-in-out infinite;
}

/* ===========================================
   Navbar
=========================================== */
.gp-navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1.25rem 0;
  background: rgba(7, 21, 45, 0.55);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border-bottom: 1px solid var(--border-gold);
  transition: padding 0.3s ease, background 0.3s ease;
}
.gp-navbar.scrolled { padding: 0.75rem 0; background: rgba(5, 14, 31, 0.85); }
.gp-navbar__inner { display: flex; align-items: center; justify-content: space-between; }
.gp-navbar__logo img { height: 48px; width: auto; animation: reveal-up 1s ease both; }
.gp-navbar__menu { display: flex; gap: 2rem; list-style: none; }
.gp-navbar__menu a {
  color: var(--white); font-size: 0.95rem; font-weight: 500;
  letter-spacing: 0.05em; text-transform: uppercase; position: relative;
}
.gp-navbar__menu a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 1px;
  background: var(--gradient-gold); transition: width 0.4s ease;
}
.gp-navbar__menu a:hover { color: var(--gold); }
.gp-navbar__menu a:hover::after { width: 100%; }
.gp-navbar__cta {
  padding: 0.75rem 1.5rem; background: var(--gradient-gold);
  color: var(--navy); font-weight: 600; border-radius: 2px;
  text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.85rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gp-navbar__cta:hover { transform: translateY(-2px); box-shadow: var(--shadow-gold); color: var(--navy); }
.gp-navbar__toggle { display: none; background: transparent; border: 0; color: var(--gold); cursor: pointer; }

/* ===========================================
   Hero
=========================================== */
.gp-hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  overflow: hidden; padding: 8rem 0 4rem;
}
.gp-hero__media {
  position: absolute; inset: 0; z-index: 0;
}
.gp-hero__media video,
.gp-hero__media img {
  width: 100%; height: 100%; object-fit: cover;
}
.gp-hero__overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(7,21,45,0.65) 0%, rgba(5,14,31,0.85) 100%);
}
.gp-hero__watermark {
  position: absolute; bottom: 8%; right: 4%; z-index: 2;
  width: 220px; opacity: 0.08; pointer-events: none;
}
.gp-hero__content { position: relative; z-index: 3; max-width: 900px; }
.gp-hero__eyebrow {
  display: inline-block; padding: 0.5rem 1rem;
  border: 1px solid var(--border-gold); border-radius: 2px;
  font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.5rem;
  animation: reveal-up 1s ease 0.2s both;
}
.gp-hero__title { margin-bottom: 1.5rem; animation: reveal-up 1s ease 0.4s both; }
.gp-hero__subtitle {
  font-size: clamp(1rem, 1.5vw, 1.25rem); max-width: 640px;
  margin-bottom: 2.5rem; animation: reveal-up 1s ease 0.6s both;
}
.gp-hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; animation: reveal-up 1s ease 0.8s both; }
.gp-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 1rem 2rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; font-size: 0.85rem; border-radius: 2px;
  transition: all 0.3s ease; cursor: pointer; border: 0;
}
.gp-btn--gold { background: var(--gradient-gold); color: var(--navy); }
.gp-btn--gold:hover { transform: translateY(-2px); box-shadow: var(--shadow-gold); color: var(--navy); }
.gp-btn--outline { background: transparent; color: var(--gold); border: 1px solid var(--gold); }
.gp-btn--outline:hover { background: var(--gold); color: var(--navy); }

.gp-hero__stats {
  position: relative; z-index: 3; margin-top: 4rem;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem;
}
.gp-stat {
  padding: 1.5rem;
  background: rgba(7, 21, 45, 0.55);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-gold);
  border-radius: 4px;
}
.gp-stat__value { font-family: var(--font-display); font-size: 2.25rem; color: var(--gold); }
.gp-stat__label { font-size: 0.8rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); }

/* ===========================================
   Sections
=========================================== */
.gp-section { padding: 6rem 0; position: relative; }
.gp-section--alt { background: var(--navy); }
.gp-section__head { text-align: center; margin-bottom: 4rem; }
.gp-section__eyebrow {
  font-size: 0.8rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1rem; display: block;
}
.gp-section__title { margin-bottom: 1rem; }
.gp-section__divider {
  width: 80px; height: 1px; background: var(--gradient-gold); margin: 1.5rem auto;
}

/* Projects Grid */
.gp-projects { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; }
.gp-project {
  position: relative; overflow: hidden; border-radius: 4px;
  border: 1px solid var(--border-gold);
  background: var(--navy); aspect-ratio: 4/5;
  transition: transform 0.5s ease;
}
.gp-project:hover { transform: translateY(-8px); box-shadow: var(--shadow-luxe); }
.gp-project__img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.gp-project:hover .gp-project__img { transform: scale(1.08); }
.gp-project__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(5,14,31,0.95) 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 2rem;
}
.gp-project__developer {
  font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.5rem;
}
.gp-project__name { color: var(--white); margin-bottom: 0.5rem; }
.gp-project__meta { color: var(--muted); font-size: 0.9rem; }

/* Trust Bar */
.gp-trust { padding: 3rem 0; border-top: 1px solid var(--border-gold); border-bottom: 1px solid var(--border-gold); }
.gp-trust__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 2rem;
  align-items: center; justify-items: center;
}
.gp-trust__logo {
  font-family: var(--font-display); font-size: 1.5rem;
  color: var(--muted); letter-spacing: 0.1em;
  transition: color 0.3s ease;
}
.gp-trust__logo:hover { color: var(--gold); }

/* Lead Form */
.gp-form {
  max-width: 640px; margin: 0 auto; padding: 3rem;
  background: rgba(7, 21, 45, 0.55);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-gold); border-radius: 4px;
}
.gp-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.gp-form__field { display: flex; flex-direction: column; gap: 0.5rem; }
.gp-form__field--full { grid-column: 1 / -1; }
.gp-form label {
  font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold);
}
.gp-form input, .gp-form select, .gp-form textarea {
  padding: 0.9rem 1rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-gold);
  color: var(--white); font-family: var(--font-sans); font-size: 1rem;
  border-radius: 2px; transition: border-color 0.3s ease;
}
.gp-form input:focus, .gp-form select:focus, .gp-form textarea:focus {
  outline: none; border-color: var(--gold);
}
.gp-form textarea { resize: vertical; min-height: 120px; }
.gp-form__submit { width: 100%; margin-top: 1rem; }

/* Footer */
.gp-footer { padding: 4rem 0 2rem; background: var(--navy-deep); border-top: 1px solid var(--border-gold); }
.gp-footer__grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem;
}
.gp-footer__logo { height: 56px; margin-bottom: 1rem; }
.gp-footer__about { color: var(--muted); font-size: 0.95rem; max-width: 320px; }
.gp-footer h4 {
  font-family: var(--font-sans); font-size: 0.85rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 1.25rem;
}
.gp-footer ul { list-style: none; }
.gp-footer ul li { margin-bottom: 0.6rem; }
.gp-footer ul a { color: var(--muted); font-size: 0.95rem; }
.gp-footer ul a:hover { color: var(--gold); }
.gp-footer__bottom {
  padding-top: 2rem; border-top: 1px solid var(--border-gold);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  color: var(--muted); font-size: 0.85rem;
}

/* WhatsApp FAB */
.gp-whatsapp {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 90;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25D366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
  animation: pulse-gold 2.4s ease-out infinite;
  transition: transform 0.3s ease;
}
.gp-whatsapp:hover { transform: scale(1.1); }
.gp-whatsapp svg { width: 32px; height: 32px; fill: white; }

/* ===========================================
   Animations
=========================================== */
@keyframes reveal-up {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes gold-sweep {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(500%); }
}
@keyframes pulse-gold {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.6), 0 10px 30px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 0 0 18px rgba(212, 175, 55, 0), 0 10px 30px rgba(37, 211, 102, 0.4); }
}
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.9s ease, transform 0.9s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ===========================================
   Responsive
=========================================== */
@media (max-width: 900px) {
  .gp-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .gp-navbar__menu {
    position: fixed; top: 80px; left: 0; right: 0;
    flex-direction: column; padding: 2rem;
    background: rgba(5, 14, 31, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-gold);
    transform: translateY(-150%); transition: transform 0.4s ease;
  }
  .gp-navbar__menu.open { transform: translateY(0); }
  .gp-navbar__toggle { display: block; }
  .gp-navbar__cta { display: none; }
  .gp-form { padding: 2rem 1.25rem; }
  .gp-form__row { grid-template-columns: 1fr; }
  .gp-footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .gp-section { padding: 4rem 0; }
}

/* WordPress core required classes */
.alignleft { float: left; margin-right: 1.5rem; }
.alignright { float: right; margin-left: 1.5rem; }
.aligncenter { display: block; margin: 0 auto; }
.screen-reader-text {
  border: 0; clip: rect(1px,1px,1px,1px); -webkit-clip-path: inset(50%); clip-path: inset(50%);
  height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important;
}
