/*
 * Dhanyashree Homes — styles.css
 * Page-level base styles for project detail pages.
 * Nav, footer, and responsive rules live in shared.css (auto-loaded).
 */

:root {
  --dark:        #1C0D06;
  --dark2:       #231008;
  --dark3:       #2E1510;
  --brown:       #4A2010;
  --amber:       #C98B4A;
  --amber-light: #E0B97A;
  --cream:       #F2E8D5;
  --text-muted:  #9A7A64;
  --text-light:  #C8A888;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: 'Montserrat', Segoe UI, Arial, sans-serif;
  font-weight: 300;
  background: var(--dark);
  color: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--amber); text-decoration: none; }
a:hover { color: var(--cream); }

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

/* Noise overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  opacity: .018;
  pointer-events: none;
  z-index: 9996;
}

/* ─── WHATSAPP FLOATING BUTTON ─── */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #25D366 0%, #1EA952 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
  color: white;
  text-decoration: none;
}

.whatsapp-float:hover {
  width: 65px;
  height: 65px;
  bottom: 25px;
  right: 25px;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
  transform: scale(1.08);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

/* Responsive sizes */
@media (max-width: 768px) {
  .whatsapp-float {
    width: 55px;
    height: 55px;
    bottom: 20px;
    right: 20px;
  }

  .whatsapp-float:hover {
    width: 60px;
    height: 60px;
    bottom: 17px;
    right: 17px;
  }

  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 480px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 15px;
    right: 15px;
  }

  .whatsapp-float:hover {
    width: 55px;
    height: 55px;
    bottom: 12px;
    right: 12px;
  }

  .whatsapp-float svg {
    width: 26px;
    height: 26px;
  }
}

.form-feedback {
  margin-top: 14px;
  font-size: 12px;
  line-height: 1.5;
  padding: 10px 12px;
  border-radius: 4px;
  display: none;
}

.form-feedback.success {
  background: rgba(110, 203, 110, 0.12);
  color: #9dd89d;
  border: 1px solid rgba(110, 203, 110, 0.3);
}

.form-feedback.error {
  background: rgba(224, 112, 112, 0.12);
  color: #f3b4b4;
  border: 1px solid rgba(224, 112, 112, 0.3);
}
