/* ==========================================================================
   Studio Eleven - Architecture & Luxury Residential Interiors
   Design System by Vardan Pal | Vardan Pal Studio
   ========================================================================== */

:root {
  --bg-main: #f9f8f5;
  --bg-surface: #ffffff;
  --bg-dark: #161618;
  --text-dark: #1c1c1f;
  --text-muted: #6e6e76;
  --taupe: #a89f91;
  --warm-accent: #8c7c68;
  --font-serif: 'Cormorant Garamond', Garamond, Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

body {
  background-color: var(--bg-main);
  color: var(--text-dark);
  font-family: var(--font-sans);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .serif-font {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: -0.01em;
}

.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 28px;
}

/* Demo Announcement Bar */
.demo-top-bar {
  background: #161618;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #dfdfd7;
  font-size: 13px;
  padding: 8px 15px;
  text-align: center;
  position: relative;
  z-index: 1050;
}
.demo-top-bar a {
  color: var(--taupe);
  font-weight: 600;
  text-decoration: underline;
  margin-left: 8px;
}
.demo-top-bar .badge-demo {
  background: var(--taupe);
  color: #161618;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 3px 8px;
  border-radius: 2px;
  margin-right: 8px;
}

/* Navigation */
header {
  position: sticky;
  top: 0;
  background: rgba(249, 248, 245, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  z-index: 1000;
}
.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
}
.brand-title {
  font-size: 24px;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 600;
  display: flex;
  flex-direction: column;
}
.brand-title span.sub {
  font-family: var(--font-sans);
  font-size: 9px;
  letter-spacing: 3px;
  color: var(--warm-accent);
  margin-top: 3px;
}
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  align-items: center;
}
.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 500;
  transition: color 0.2s ease;
}
.nav-links a:hover {
  color: var(--text-dark);
}
.btn-nav-consult {
  background: var(--text-dark) !important;
  color: #fff !important;
  padding: 10px 22px;
  border-radius: 2px;
  font-size: 12px !important;
  transition: opacity 0.2s ease;
}
.btn-nav-consult:hover {
  opacity: 0.85;
}

/* Hero Section */
.hero-section {
  padding: 100px 0 80px;
  text-align: center;
}
.hero-tag {
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--warm-accent);
  font-weight: 600;
  margin-bottom: 20px;
  display: block;
}
.hero-title {
  font-size: clamp(38px, 6vw, 76px);
  line-height: 1.1;
  color: var(--text-dark);
  max-width: 960px;
  margin: 0 auto 25px;
}
.hero-subtitle {
  max-width: 680px;
  margin: 0 auto 35px;
  color: var(--text-muted);
  font-size: 18px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}
.btn-editorial {
  background: var(--text-dark);
  color: #fff;
  padding: 16px 36px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
  display: inline-block;
}
.btn-editorial:hover {
  background: #333;
}
.btn-editorial-outline {
  border: 1px solid var(--text-dark);
  color: var(--text-dark);
  padding: 16px 36px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
  display: inline-block;
}
.btn-editorial-outline:hover {
  background: var(--text-dark);
  color: #fff;
}

/* Hero Feature Image */
.hero-image-container {
  margin-top: 50px;
  height: 520px;
  background: url('https://images.unsplash.com/photo-1600210492486-724fe5c67fb0?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
  border-radius: 4px;
}

/* Metrics Strip */
.metrics-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding: 60px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  text-align: center;
}
.metric-number {
  font-size: 42px;
  font-family: var(--font-serif);
  color: var(--text-dark);
  line-height: 1;
}
.metric-label {
  font-size: 13px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 8px;
}

/* Projects Section */
.section {
  padding: 100px 0;
}
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 50px;
}
.section-tag {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--warm-accent);
  font-weight: 600;
  display: block;
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(30px, 4vw, 50px);
  color: var(--text-dark);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 45px;
}
.project-card {
  background: var(--bg-surface);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.3s ease;
}
.project-card:hover {
  transform: translateY(-6px);
}
.project-thumb {
  height: 380px;
  background-size: cover;
  background-position: center;
}
.project-details {
  padding: 30px 25px;
}
.project-location {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--warm-accent);
  font-weight: 600;
  display: block;
  margin-bottom: 6px;
}
.project-title {
  font-size: 24px;
  margin-bottom: 12px;
  color: var(--text-dark);
}
.project-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Process Section */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
  margin-top: 50px;
}
.process-card {
  background: #f2eee8;
  padding: 40px 30px;
  border-radius: 4px;
}
.process-num {
  font-size: 32px;
  font-family: var(--font-serif);
  color: var(--warm-accent);
  margin-bottom: 15px;
}
.process-title {
  font-size: 20px;
  color: var(--text-dark);
  margin-bottom: 12px;
}
.process-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Consultation Form Section */
.consultation-section {
  background: var(--bg-dark);
  color: #fff;
  padding: 100px 0;
}
.consultation-box {
  background: #1f1f23;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 50px;
  max-width: 820px;
  margin: 0 auto;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 25px;
}
.form-group label {
  display: block;
  font-size: 13px;
  color: #a0a0ab;
  margin-bottom: 8px;
}
.form-control {
  width: 100%;
  background: #141416;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  padding: 14px;
  border-radius: 4px;
  font-family: inherit;
  font-size: 14px;
  outline: none;
}
.form-control:focus {
  border-color: var(--taupe);
}
.form-group-full {
  grid-column: 1 / -1;
}

/* Subtle Demo Attribution Footer for Vardan Pal */
.vardan-demo-footer {
  background: #0f0f11;
  border-top: 1px solid #26262a;
  padding: 55px 0 40px;
  color: #e0e0e8;
  text-align: center;
}
.vardan-demo-footer h3 {
  font-size: 26px;
  color: #fff;
  margin-bottom: 10px;
}
.vardan-demo-footer p.sublead {
  font-size: 15px;
  color: #8c8c98;
  max-width: 620px;
  margin: 0 auto 30px;
}
.vardan-btn-group {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.vardan-btn-primary {
  background: var(--taupe);
  color: #161618 !important;
  font-weight: 700;
  padding: 14px 30px;
  border-radius: 3px;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.2s ease;
}
.vardan-btn-primary:hover {
  background: #bfb6a8;
}
.vardan-btn-secondary {
  background: #25d366;
  color: #0b2912 !important;
  font-weight: 700;
  padding: 14px 30px;
  border-radius: 3px;
  font-size: 13px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.vardan-credits {
  margin-top: 35px;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  color: #646470;
}

/* Floating WhatsApp Button */
.floating-whatsapp-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #25d366;
  color: #fff;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.45);
  z-index: 9999;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
}
.floating-whatsapp-btn:hover {
  transform: scale(1.08);
  color: #fff;
}
.floating-whatsapp-tooltip {
  position: absolute;
  right: 68px;
  background: #161618;
  color: #fff;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.floating-whatsapp-btn:hover .floating-whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* Demo Toast Notification */
.demo-toast {
  position: fixed;
  bottom: 95px;
  right: 24px;
  background: #1f1f23;
  color: #fff;
  border-left: 4px solid var(--taupe);
  border-radius: 6px;
  padding: 16px 20px;
  max-width: 360px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  z-index: 9998;
  display: none;
}
.demo-toast.active {
  display: block;
  animation: slideInUp 0.3s ease;
}
@keyframes slideInUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@media (max-width: 768px) {
  .project-grid, .process-grid, .form-grid, .metrics-strip {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none;
  }
  .consultation-box {
    padding: 30px 20px;
  }
}

/* ==========================================================================
   MOBILE UX & PERFORMANCE OPTIMIZATIONS (INTERIOR DEMO)
   ========================================================================== */
@media (max-width: 768px) {
  /* Prevent iOS Safari Auto-Zoom on form input focus */
  .form-control,
  input,
  select,
  textarea {
    font-size: 16px !important;
  }
}

/* High-Contrast Form Placeholders */
.form-control::placeholder,
input::placeholder,
textarea::placeholder {
  color: rgba(255, 255, 255, 0.65) !important;
  opacity: 1;
}

/* Mobile Tactile Active Feedback */
.btn-editorial:active,
.btn-editorial-outline:active,
.btn-nav-consult:active,
.vardan-btn-primary:active,
.vardan-btn-secondary:active {
  transform: scale(0.98) !important;
}
