@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,700&family=Manrope:wght@300;500;700&display=swap');

:root {
  --bg: #f2f2f2;
  --bg-alt: #e8e8e8;
  --text: #000000;
  --muted: #4d4d4d;
  --accent: #000000;
  --accent-2: #1a1a1a;
  --glass: rgba(255, 255, 255, 0.6);
  --glass-border: rgba(255, 255, 255, 0.9);
  --shadow: rgba(0, 0, 0, 0.12);
  --ring: rgba(0, 0, 0, 0.18);
}

[data-theme="dark"] {
  --bg: #000000;
  --bg-alt: #0d0d0d;
  --text: #f2f2f2;
  --muted: #b3b3b3;
  --accent: #f2f2f2;
  --accent-2: #d9d9d9;
  --glass: rgba(12, 12, 12, 0.7);
  --glass-border: rgba(255, 255, 255, 0.12);
  --shadow: rgba(0, 0, 0, 0.45);
  --ring: rgba(242, 242, 242, 0.2);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Manrope", system-ui, sans-serif;
  color: var(--text);
  background: radial-gradient(800px 400px at 10% -10%, rgba(0, 0, 0, 0.08), transparent 60%),
              radial-gradient(700px 500px at 90% 0%, rgba(0, 0, 0, 0.12), transparent 70%),
              linear-gradient(180deg, var(--bg), var(--bg-alt));
  min-height: 100vh;
}

.page {
  position: relative;
  overflow: hidden;
}

.bg-blob {
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 40% 60% 55% 45%;
  filter: blur(0px);
  opacity: 0.22;
  background: radial-gradient(circle at 30% 30%, var(--accent), transparent 60%);
  top: 15%;
  right: -160px;
  z-index: 0;
}

.bg-blob.alt {
  width: 320px;
  height: 320px;
  left: -140px;
  top: 65%;
  background: radial-gradient(circle at 60% 40%, var(--accent-2), transparent 65%);
}

header {
  position: sticky;
  top: 0;
  z-index: 10;
  padding: 24px clamp(20px, 4vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(14px);
  background: color-mix(in srgb, var(--glass) 80%, transparent);
  border-bottom: 1px solid var(--glass-border);
}

.brand {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 2px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.brand-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 10px;
  border: 1px solid var(--glass-border);
  background: color-mix(in srgb, var(--glass) 70%, transparent);
  box-shadow: 0 10px 24px var(--shadow);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand h1 {
  margin: 0;
  font-family: "Fraunces", serif;
  font-size: 1.4rem;
  letter-spacing: 0.4px;
}

.brand span {
  font-size: 0.85rem;
  color: var(--muted);
}

nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

nav a:hover::after,
nav a.active::after {
  width: 100%;
}

.theme-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--muted);
}

.toggle-btn {
  border: 1px solid var(--glass-border);
  background: var(--glass);
  box-shadow: 0 6px 16px var(--shadow);
  border-radius: 999px;
  width: 52px;
  height: 28px;
  position: relative;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.toggle-btn:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 3px;
}

.toggle-knob {
  position: absolute;
  top: 3px;
  left: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(145deg, #ffffff, #bfbfbf);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.25s ease;
}

[data-theme="dark"] .toggle-knob {
  transform: translateX(24px);
  background: linear-gradient(145deg, var(--accent), #4d4d4d);
}

main {
  position: relative;
  z-index: 1;
  padding: clamp(32px, 6vw, 80px) clamp(20px, 6vw, 90px) 80px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  align-items: center;
}

.hero h2 {
  font-family: "Fraunces", serif;
  font-size: clamp(2rem, 3vw, 3.2rem);
  margin: 0 0 12px;
}

.hero p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.glass-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 20px 40px var(--shadow);
  backdrop-filter: blur(18px);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  padding: 12px 20px;
  border-radius: 999px;
  border: none;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn.primary {
  background: var(--accent);
  color: var(--bg);
}

.btn.secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--glass-border);
}

.appliance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
}

.appliance-item {
  padding: 14px 16px;
  border-radius: 16px;
  background: transparent;
  border: 1px solid color-mix(in srgb, var(--glass-border) 60%, transparent);
  font-weight: 600;
  text-align: center;
  color: var(--text);
}

.section-title {
  font-family: "Fraunces", serif;
  font-size: clamp(1.5rem, 2.2vw, 2.2rem);
  margin: 0 0 14px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.gallery-item {
  min-height: 180px;
  border-radius: 18px;
  border: 1px dashed var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  background: color-mix(in srgb, var(--glass) 70%, transparent);
  font-weight: 600;
  cursor: pointer;
  padding: 12px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.gallery-item.is-image {
  padding: 0;
  border-style: solid;
  overflow: hidden;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.review-card {
  border-radius: 18px;
  border: 1px solid var(--glass-border);
  background: color-mix(in srgb, var(--glass) 80%, transparent);
  padding: 18px;
  display: grid;
  gap: 10px;
  position: relative;
}

.review-card::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 0;
  height: 1px;
  background: var(--glass-border);
  opacity: 0.6;
}

.review-card:last-child::after {
  display: none;
}

.review-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: var(--muted);
  font-size: 0.9rem;
}

.review-meta strong {
  color: var(--text);
  font-size: 1rem;
}

.review-stars {
  font-size: 1.1rem;
  letter-spacing: 2px;
}

.review-details {
  font-size: 0.85rem;
  color: var(--muted);
}

form {
  display: grid;
  gap: 16px;
}

input,
textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--glass-border);
  background: color-mix(in srgb, var(--glass) 82%, transparent);
  color: var(--text);
  font-size: 0.95rem;
}

input:focus,
textarea:focus {
  outline: 2px solid var(--ring);
  border-color: transparent;
}

textarea {
  min-height: 140px;
  resize: vertical;
}


footer {
  padding: 24px clamp(20px, 6vw, 90px) 40px;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

@media (max-width: 720px) {
  header {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  nav {
    flex-wrap: wrap;
  }

  .theme-toggle {
    align-self: flex-end;
  }
}
