/*
Theme Name: GB Realty — Opus One
Theme URI: https://gbrealty.com/
Author: GB Realty
Author URI: https://gbrealty.com/
Description: A modern WordPress theme for GB Realty's Opus One project in New Chandigarh. Layout inspired by danubeproperties.com — featuring a mega-menu header with top utility bar, hero slider with thumbnail navigation, project card grid, icon-grid "Why GB Realty" and "Why Invest in New Chandigarh" sections, founder banner, testimonials carousel, news cards, and a "Let's Connect" enquiry form with country code picker. All content and images are sourced from the official Opus One brochure.
Version: 1.0.0
Requires at least: 5.5
Tested up to: 6.4
Requires PHP: 7.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gb-realty
Tags: real-estate, luxury, one-page, parallax, custom-colors, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ==========================================================================
   GB Realty Theme — Main Stylesheet
   The bulk of styling lives in assets/css/main.css for performance.
   This file holds the theme header (required by WordPress) plus critical
   above-the-fold resets so the hero renders instantly.
   ========================================================================== */

:root {
  --gb-dark:      #0e0e10;
  --gb-dark-2:    #16161a;
  --gb-dark-3:    #1f1f25;
  --gb-ivory:     #f5f1ea;
  --gb-gold:      #c5a572;
  --gb-gold-soft: #d9c19a;
  --gb-gold-deep: #a0854f;
  --gb-white:     #ffffff;
  --gb-muted:     #9a958c;
  --gb-line:      rgba(197, 165, 114, 0.22);
}

/* Critical reset so hero paints before main.css loads */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--gb-dark);
  color: var(--gb-ivory);
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gb-gold); text-decoration: none; }

/* Loading curtain — removed once JS boots */
#gb-loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--gb-dark);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .6s ease, visibility .6s ease;
}
#gb-loader.is-loaded { opacity: 0; visibility: hidden; pointer-events: none; }
#gb-loader .gb-loader-mark {
  font-family: 'Playfair Display', serif;
  font-size: 32px; letter-spacing: 0.4em;
  color: var(--gb-gold);
  text-transform: uppercase;
  animation: gb-pulse 1.6s ease-in-out infinite;
}
@keyframes gb-pulse { 0%,100% { opacity: .35; } 50% { opacity: 1; } }
