/* ==========================================================================
   ERAYDUŞ Quiet Luxury Architectural Theme Stylesheet
   Direct port of c-xLd/eraydus design system
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--eray-black);
  color: var(--eray-text-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--eray-transition);
}

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

.eray-container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 768px) {
  .eray-container {
    padding: 0 2rem;
  }
}

/* ==========================================================================
   Typography & Utility Badges
   ========================================================================== */
.font-mono-tag {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--eray-champagne);
}

.eray-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.1rem;
  border-radius: var(--eray-radius-pill);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eray-badge-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--eray-champagne);
  box-shadow: 0 0 10px var(--eray-champagne);
  animation: erayPulse 2s infinite;
}

@keyframes erayPulse {
  0% { transform: scale(0.95); opacity: 0.7; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.7; }
}

/* ==========================================================================
   Header & Nav
   ========================================================================== */
.eray-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 5, 5, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--eray-border);
}

.eray-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.eray-brand-logo {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #ffffff;
}

.eray-brand-logo .dot {
  width: 8px;
  height: 8px;
  background: var(--eray-champagne);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px var(--eray-champagne);
}

.eray-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.eray-nav a {
  font-size: 0.925rem;
  font-weight: 400;
  color: var(--eray-text-muted);
}

.eray-nav a:hover {
  color: #ffffff;
}

.eray-header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-champagne {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--eray-champagne);
  color: #000000;
  padding: 0.75rem 1.6rem;
  border-radius: var(--eray-radius);
  font-size: 0.925rem;
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(201, 168, 106, 0.25);
  transition: var(--eray-transition);
}

.btn-champagne:hover {
  background: var(--eray-champagne-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(201, 168, 106, 0.4);
}

.btn-outline-glass {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  padding: 0.75rem 1.6rem;
  border-radius: var(--eray-radius);
  font-size: 0.925rem;
  font-weight: 500;
  backdrop-filter: blur(10px);
  transition: var(--eray-transition);
}

.btn-outline-glass:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.eray-hero {
  position: relative;
  min-height: calc(100vh - 76px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5rem 0 6rem;
  background: radial-gradient(circle at 50% 20%, rgba(201, 168, 106, 0.08) 0%, transparent 60%);
  overflow: hidden;
}

.eray-hero::before {
  content: "";
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 350px;
  background: radial-gradient(ellipse, rgba(201, 168, 106, 0.12) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
}

.eray-hero-content {
  position: relative;
  z-index: 10;
  max-width: 980px;
  margin: 0 auto;
}

.eray-hero h1 {
  font-size: 2.75rem;
  line-height: 1.08;
  font-weight: 300;
  letter-spacing: -0.03em;
  margin: 1.8rem 0 1.5rem;
  color: #ffffff;
}

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

@media (min-width: 1200px) {
  .eray-hero h1 {
    font-size: 5.25rem;
  }
}

.eray-hero h1 .accent {
  color: var(--eray-champagne);
  font-weight: 400;
  position: relative;
  display: inline-block;
}

.eray-hero h1 .strong {
  font-weight: 600;
  display: block;
}

.eray-hero-lead {
  font-size: 1.15rem;
  font-weight: 300;
  color: var(--eray-text-muted);
  max-width: 680px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.eray-hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

.eray-trust-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem 2.5rem;
  color: var(--eray-text-dim);
  font-size: 0.775rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eray-trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* ==========================================================================
   Product Showcase Section
   ========================================================================== */
.eray-section {
  padding: 6rem 0;
  border-top: 1px solid var(--eray-border);
}

.eray-section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--eray-border);
}

.eray-section-title {
  font-size: 2.25rem;
  font-weight: 300;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.eray-section-title strong {
  font-weight: 600;
  color: var(--eray-champagne);
}

.eray-grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .eray-grid-cards {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
}

.eray-card {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--eray-radius-lg);
  overflow: hidden;
  background: var(--eray-surface);
  border: 1px solid var(--eray-border);
  display: block;
  transition: var(--eray-transition);
}

.eray-card:hover {
  transform: translateY(-6px);
  border-color: var(--eray-border-champagne);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4), 0 0 24px rgba(201, 168, 106, 0.1);
}

.eray-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.eray-card:hover .eray-card-image {
  transform: scale(1.06);
}

.eray-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5,5,5,0.1) 0%, rgba(5,5,5,0.4) 50%, rgba(5,5,5,0.95) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem;
  z-index: 2;
}

.eray-card-tag {
  color: var(--eray-champagne);
  font-size: 0.7rem;
  font-family: ui-monospace, monospace;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.eray-card-title {
  font-size: 1.35rem;
  font-weight: 400;
  color: #ffffff;
  line-height: 1.25;
}

.eray-card:hover .eray-card-title {
  color: var(--eray-champagne);
}

/* ==========================================================================
   Craftsmanship Bento Grid
   ========================================================================== */
.eray-bento {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.eray-bento-item {
  background: var(--eray-surface);
  border: 1px solid var(--eray-border);
  border-radius: var(--eray-radius);
  padding: 2.25rem;
  position: relative;
  overflow: hidden;
  transition: var(--eray-transition);
}

.eray-bento-item:hover {
  border-color: var(--eray-border-champagne);
  transform: translateY(-4px);
}

.eray-bento-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(201, 168, 106, 0.1);
  border: 1px solid var(--eray-border-champagne);
  color: var(--eray-champagne);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.eray-bento-item h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.eray-bento-item p {
  color: var(--eray-text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ==========================================================================
   Configurator CTA Banner
   ========================================================================== */
.eray-config-banner {
  background: linear-gradient(135deg, var(--eray-surface) 0%, #151a24 100%);
  border: 1px solid var(--eray-border-champagne);
  border-radius: var(--eray-radius-lg);
  padding: 4rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin: 4rem 0;
}

.eray-config-banner h2 {
  font-size: 2.5rem;
  font-weight: 300;
  margin: 1rem 0;
}

.eray-config-banner h2 span {
  color: var(--eray-champagne);
  font-weight: 600;
}

.eray-config-banner p {
  color: var(--eray-text-muted);
  max-width: 600px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.eray-reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.eray-review-card {
  background: var(--eray-surface);
  border: 1px solid var(--eray-border);
  border-radius: var(--eray-radius);
  padding: 2rem;
}

.eray-review-stars {
  color: var(--eray-champagne);
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.eray-review-text {
  font-size: 0.95rem;
  color: #e2e8f0;
  margin-bottom: 1.5rem;
  font-style: italic;
  line-height: 1.7;
}

.eray-reviewer {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.eray-reviewer-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--eray-surface-light);
  border: 1px solid var(--eray-border-champagne);
  color: var(--eray-champagne);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
}

.eray-reviewer h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
}

.eray-reviewer span {
  font-size: 0.8rem;
  color: var(--eray-text-dim);
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.eray-faq-list {
  max-width: 860px;
  margin: 0 auto;
}

.eray-faq-item {
  border-bottom: 1px solid var(--eray-border);
}

.eray-faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.5rem 0;
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.eray-faq-icon {
  font-size: 1.25rem;
  color: var(--eray-champagne);
  transition: transform 0.25s ease;
}

.eray-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  color: var(--eray-text-muted);
  line-height: 1.7;
}

.eray-faq-answer p {
  padding-bottom: 1.5rem;
}

.eray-faq-item.active .eray-faq-icon {
  transform: rotate(45deg);
}

.eray-faq-item.active .eray-faq-answer {
  max-height: 300px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.eray-footer {
  border-top: 1px solid var(--eray-border);
  background: var(--eray-dark);
  padding: 5rem 0 2.5rem;
}

.eray-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 4rem;
}

.eray-footer-col h4 {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--eray-champagne);
  margin-bottom: 1.5rem;
}

.eray-footer-col ul {
  list-style: none;
}

.eray-footer-col ul li {
  margin-bottom: 0.8rem;
}

.eray-footer-col ul li a {
  color: var(--eray-text-muted);
  font-size: 0.925rem;
}

.eray-footer-col ul li a:hover {
  color: #ffffff;
}

.eray-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--eray-border);
  color: var(--eray-text-dim);
  font-size: 0.825rem;
}

/* Floating WhatsApp Button */
.eray-floating-whatsapp {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s ease;
}

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

@media (max-width: 900px) {
  .eray-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 640px) {
  .eray-nav {
    display: none;
  }
  .eray-footer-grid {
    grid-template-columns: 1fr;
  }
  .eray-footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
