/*
Theme Name: Saurabh Dighe - Obelisk Enterprises
Theme URI: https://obeliskenterprises.com
Author: Saurabh Dighe
Author URI: https://obeliskenterprises.com
Description: A luxury real estate one-page theme for Saurabh Dighe / Obelisk Enterprises. Features hero section, stats, featured properties, testimonials, about section, and contact form.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: saurabh-dighe
Tags: one-column, custom-colors, custom-logo, featured-images, full-width-template, theme-options
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
*/

/* ========== RESET & BASE ========== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,500&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap');

:root {
  --gold: #b8860b;
  --gold-light: #d4a843;
  --cream: #f5f0e8;
  --charcoal: #1a1a2e;
  --charcoal-light: #2d2d44;
  --background: #faf8f5;
  --foreground: #1a1a2e;
  --card-bg: #ffffff;
  --muted: #6b6b7b;
  --border: #e8e4de;
  --accent: #b8860b;
  --whatsapp-green: #25D366;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  line-height: 1.1;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== UTILITY ========== */
.text-gradient-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-gradient-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
}

.bg-gradient-dark {
  background: linear-gradient(135deg, var(--charcoal), var(--charcoal-light));
}

.shadow-luxury {
  box-shadow: 0 20px 60px -15px rgba(26, 26, 46, 0.15);
}

.shadow-gold {
  box-shadow: 0 10px 40px -10px rgba(184, 134, 11, 0.3);
}

.tracking-wide { letter-spacing: 0.3em; }
.uppercase { text-transform: uppercase; }
.font-body { font-family: 'DM Sans', sans-serif; }
.font-display { font-family: 'Playfair Display', serif; }

.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--charcoal);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: box-shadow 0.3s ease;
}

.btn-gold:hover {
  box-shadow: 0 10px 40px -10px rgba(184, 134, 11, 0.3);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ========== HEADER ========== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(26, 26, 46, 0.95);
  backdrop-filter: blur(12px);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-logo .logo-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  font-family: 'Playfair Display', serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--charcoal);
}

.site-logo .logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #f5f0e8;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.main-nav a {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.7);
  transition: color 0.3s;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--gold);
}

.nav-cta {
  margin-left: 16px;
  padding: 10px 20px !important;
  background: var(--gold) !important;
  color: var(--charcoal) !important;
  font-weight: 600 !important;
}

.nav-cta:hover { opacity: 0.9; }

/* Mobile nav toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: #f5f0e8;
  font-size: 1.5rem;
  cursor: pointer;
}

.mobile-nav {
  display: none;
  background: rgba(26, 26, 46, 0.98);
  backdrop-filter: blur(12px);
}

.mobile-nav.open {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 32px 0;
}

.mobile-nav a {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.8);
}

.mobile-nav a:hover { color: var(--gold); }

@media (max-width: 768px) {
  .main-nav { display: none; }
  .mobile-toggle { display: block; }
}

/* ========== HERO ========== */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(26,26,46,0.8), rgba(26,26,46,0.5), transparent);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 640px;
}

.hero-tag {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.hero-tag .line {
  width: 48px;
  height: 1px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
}

.hero-tag span {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  color: #f5f0e8;
  margin-bottom: 24px;
  line-height: 1.05;
}

.hero h1 .italic { font-style: italic; }

.hero p {
  font-size: 1.125rem;
  color: rgba(245, 240, 232, 0.7);
  max-width: 480px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

@media (min-width: 768px) {
  .hero h1 { font-size: 5rem; }
}

/* ========== STATS ========== */
.stats {
  background: var(--charcoal);
  padding: 64px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  text-align: center;
}

.stats-grid .stat-value {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
}

.stats-grid .stat-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.6);
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .stats-grid .stat-value { font-size: 3rem; }
}

/* ========== SECTION HEADERS ========== */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header .tag-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
}

.section-header .tag-line .line {
  width: 48px;
  height: 1px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
}

.section-header .tag-line span {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--foreground);
}

@media (min-width: 768px) {
  .section-header h2 { font-size: 3rem; }
}

/* ========== PROPERTIES ========== */
.properties-section {
  padding: 96px 0;
  background: var(--background);
}

.properties-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 768px) {
  .properties-grid { grid-template-columns: repeat(3, 1fr); }
}

.property-card {
  background: var(--card-bg);
  overflow: hidden;
  box-shadow: 0 20px 60px -15px rgba(26, 26, 46, 0.15);
  transition: box-shadow 0.5s;
}

.property-card:hover {
  box-shadow: 0 10px 40px -10px rgba(184, 134, 11, 0.3);
}

.property-card .card-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.property-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s;
}

.property-card:hover .card-image img {
  transform: scale(1.1);
}

.property-card .card-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 16px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--charcoal);
}

.property-card .card-body {
  padding: 24px;
}

.property-card .card-location {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.property-card .card-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 12px;
}

.property-card .card-price {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 16px;
}

.property-card .card-meta {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.property-card .card-meta span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  color: var(--muted);
}

.property-card .card-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 20px;
  padding: 12px 24px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--charcoal);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: box-shadow 0.3s;
}

.property-card .card-btn:hover {
  box-shadow: 0 10px 40px -10px rgba(184, 134, 11, 0.3);
}

/* ========== WHY CHOOSE US ========== */
.why-section {
  padding: 96px 0;
  background: var(--cream);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 768px) {
  .why-grid { grid-template-columns: repeat(3, 1fr); }
}

.why-card {
  background: var(--card-bg);
  padding: 32px;
  text-align: center;
  box-shadow: 0 20px 60px -15px rgba(26, 26, 46, 0.15);
  transition: background 0.5s, color 0.5s;
}

.why-card:hover {
  background: var(--charcoal);
}

.why-card .icon-circle {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-card .icon-circle svg {
  width: 28px;
  height: 28px;
  color: var(--charcoal);
}

.why-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
  transition: color 0.5s;
}

.why-card:hover h3 { color: #f5f0e8; }

.why-card p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.7;
  transition: color 0.5s;
}

.why-card:hover p { color: rgba(245, 240, 232, 0.7); }

/* ========== TESTIMONIALS ========== */
.testimonials-section {
  padding: 96px 0;
  background: var(--cream);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 768px) {
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
}

.testimonial-card {
  background: var(--card-bg);
  padding: 32px;
  position: relative;
  box-shadow: 0 20px 60px -15px rgba(26, 26, 46, 0.15);
}

.testimonial-card .quote-icon {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 32px;
  height: 32px;
  color: rgba(184, 134, 11, 0.2);
}

.testimonial-card .stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}

.testimonial-card .stars svg {
  width: 16px;
  height: 16px;
  color: var(--gold);
  fill: var(--gold);
}

.testimonial-card blockquote {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.testimonial-card .author-name {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--foreground);
}

.testimonial-card .author-role {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  color: var(--muted);
}

/* ========== CTA ========== */
.cta-section {
  padding: 96px 0;
  background: linear-gradient(135deg, var(--charcoal), var(--charcoal-light));
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-section .glow-1,
.cta-section .glow-2 {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  opacity: 0.1;
  filter: blur(60px);
}

.cta-section .glow-1 {
  top: 0;
  right: 0;
  width: 384px;
  height: 384px;
}

.cta-section .glow-2 {
  bottom: 0;
  left: 0;
  width: 256px;
  height: 256px;
}

.cta-section .cta-inner {
  position: relative;
  z-index: 10;
  max-width: 768px;
  margin: 0 auto;
}

.cta-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #f5f0e8;
  margin-bottom: 24px;
}

.cta-section h2 .italic { font-style: italic; }

.cta-section p {
  font-size: 1.125rem;
  color: rgba(245, 240, 232, 0.6);
  max-width: 560px;
  margin: 0 auto 40px;
}

@media (min-width: 768px) {
  .cta-section h2 { font-size: 3rem; }
}

/* ========== CONTACT ========== */
.contact-section {
  padding: 96px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
}

@media (min-width: 1024px) {
  .contact-grid { grid-template-columns: 1fr 1fr; }
}

.contact-info-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 640px) {
  .contact-info-cards { grid-template-columns: 1fr 1fr; }
}

.contact-info-card {
  background: var(--card-bg);
  padding: 24px;
  box-shadow: 0 20px 60px -15px rgba(26, 26, 46, 0.15);
}

.contact-info-card .icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.contact-info-card .icon-circle svg {
  width: 20px;
  height: 20px;
  color: var(--charcoal);
}

.contact-info-card h4 {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-info-card p {
  font-size: 0.875rem;
  color: var(--muted);
}

/* Contact Form */
.contact-form {
  background: var(--card-bg);
  padding: 32px;
  box-shadow: 0 20px 60px -15px rgba(26, 26, 46, 0.15);
}

.contact-form h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

@media (min-width: 640px) {
  .contact-form .form-row { grid-template-columns: 1fr 1fr; }
}

.contact-form label {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 6px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--cream);
  border: 1px solid var(--border);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  color: var(--foreground);
  outline: none;
  transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--gold);
}

.contact-form textarea { resize: none; }

.contact-form .form-group { margin-bottom: 16px; }

.contact-form button[type="submit"] {
  width: 100%;
  margin-top: 8px;
}

/* ========== FOOTER ========== */
.site-footer {
  background: var(--charcoal);
  color: #f5f0e8;
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
}

.footer-brand p {
  font-size: 0.875rem;
  color: rgba(245, 240, 232, 0.6);
  line-height: 1.7;
  max-width: 320px;
  margin-top: 24px;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 24px;
}

.footer-links a {
  display: block;
  font-size: 0.875rem;
  color: rgba(245, 240, 232, 0.6);
  margin-bottom: 12px;
  transition: color 0.3s;
}

.footer-links a:hover { color: var(--gold); }

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  color: var(--gold);
  flex-shrink: 0;
}

.footer-contact-item span {
  font-size: 0.875rem;
  color: rgba(245, 240, 232, 0.6);
}

.footer-bottom {
  margin-top: 64px;
  padding: 32px 0;
  border-top: 1px solid rgba(245, 240, 232, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-bottom p {
  font-size: 0.75rem;
  color: rgba(245, 240, 232, 0.4);
}

/* ========== WHATSAPP BUTTON ========== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--whatsapp-green);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: transform 0.3s;
}

.whatsapp-float:hover { transform: scale(1.1); }

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  color: #fff;
  fill: #fff;
}

/* ========== ABOUT PAGE HERO ========== */
.page-hero {
  padding: 128px 0 64px;
  background: var(--charcoal);
}

.page-hero.about-hero {
  background: var(--charcoal);
}

.page-hero .tag-line {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.page-hero .tag-line .line {
  width: 48px;
  height: 1px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
}

.page-hero .tag-line span {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}

.page-hero h1 {
  font-size: 3rem;
  font-weight: 700;
  color: #f5f0e8;
  margin-bottom: 16px;
}

.page-hero h1 .italic { font-style: italic; }

.page-hero p {
  font-size: 1.125rem;
  color: rgba(245, 240, 232, 0.6);
  max-width: 640px;
  line-height: 1.7;
}

@media (min-width: 768px) {
  .page-hero h1 { font-size: 3.75rem; }
}

/* Center variant for properties/contact page heroes */
.page-hero.center { text-align: center; }
.page-hero.center .tag-line { justify-content: center; }
.page-hero.center p { margin: 0 auto; }
