@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@400;700&family=Manrope:wght@300;400;500;600;700&display=swap');

:root {
  --bg-deep: #050505;
  --bg-gradient: linear-gradient(135deg, #050505 0%, #151515 40%, #1f1308 70%, #2b2b2b 100%);
  --gold: #f1c27d;
  --gold-deep: #c28b34;
  --gray: #bfbfbf;
  --accent: #3ddad7;
  --card-bg: rgba(8, 8, 8, 0.6);
  --frame: rgba(255, 255, 255, 0.08);
  --text-light: #f5f5f5;
  --text-muted: #d2d2d2;
  --shadow-soft: 0 20px 40px rgba(0, 0, 0, 0.45);
  --transition-heavy: cubic-bezier(0.32, 0.04, 0.15, 0.99);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  background: var(--bg-gradient);
  color: var(--text-light);
  min-height: 100vh;
  letter-spacing: 0.02em;
}

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

a {
  color: inherit;
  text-decoration: none;
}

header {
  position: sticky;
  top: 0;
  z-index: 99;
  background: rgba(5, 5, 5, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.top-bar {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.social-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
}

.social-icons a {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: transform 0.4s var(--transition-heavy), border-color 0.3s;
}

.social-icons a svg {
  width: 18px;
  fill: var(--text-light);
}

.social-icons a:hover {
  transform: translateY(-4px) rotate(-6deg);
  border-color: var(--gold);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  padding: 1rem clamp(1rem, 4vw, 4rem);
  gap: clamp(1rem, 2vw, 2.5rem);
  flex-wrap: wrap;
}

.logo {
  font-family: 'Cinzel Decorative', cursive;
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  letter-spacing: 0.22em;
  color: var(--gold);
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  gap: 1.2rem;
  list-style: none;
  padding: 0;
  margin: 0 auto 0 0;
}

.nav-menu a {
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(241, 194, 125, 0.25), rgba(61, 218, 215, 0.18));
  opacity: 0;
  transition: opacity 0.4s;
  z-index: -1;
}

.nav-menu a:hover::after,
.nav-menu a:focus-visible::after {
  opacity: 1;
}

.search-bar {
  flex: 1 1 220px;
  position: relative;
}

.search-bar input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.8rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-light);
  font-size: 0.95rem;
}

.search-bar svg {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  fill: var(--gray);
}

main {
  padding: clamp(1rem, 3vw, 3rem);
}

.hero {
  background: linear-gradient(125deg, rgba(255, 255, 255, 0.04), rgba(8, 8, 8, 0.8));
  padding: clamp(2rem, 4vw, 4rem);
  border-radius: 32px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
  box-shadow: var(--shadow-soft);
}

.hero-copy h1 {
  font-family: 'Cinzel Decorative', cursive;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  margin: 0 0 1rem;
  color: var(--gold);
}

.hero-copy p {
  color: var(--text-muted);
  max-width: 540px;
  line-height: 1.7;
}

.hero-visual {
  position: relative;
  min-height: 280px;
  border-radius: 24px;
  background: radial-gradient(circle at 20% 20%, rgba(241, 194, 125, 0.4), transparent 60%),
    radial-gradient(circle at 80% 30%, rgba(61, 218, 215, 0.5), transparent 60%),
    linear-gradient(135deg, #050505, #151515);
  overflow: hidden;
}

.hero-visual::after,
.hero-visual::before {
  content: '';
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 40% 60% 50% 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: morph 12s infinite;
}

.hero-visual::after {
  top: 10%;
  right: 0;
}

.hero-visual::before {
  bottom: 5%;
  left: 10%;
  animation-delay: -4s;
}

@keyframes morph {
  0% {
    transform: rotate(0) scale(1);
  }
  50% {
    transform: rotate(8deg) scale(1.08);
  }
  100% {
    transform: rotate(-2deg) scale(1);
  }
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.category-card {
  padding: 1.5rem;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  transition: transform 0.5s var(--transition-heavy);
  position: relative;
  overflow: hidden;
}

.category-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(241, 194, 125, 0.06);
  opacity: 0;
  transition: opacity 0.5s;
}

.category-card:hover {
  transform: translateY(-8px) rotate(-1deg);
}

.category-card:hover::after {
  opacity: 1;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 3rem 0 1.5rem;
}

.section-heading h2 {
  margin: 0;
  font-size: 1.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.filters button {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--text-light);
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}

.filters button.active,
.filters button:hover {
  background: var(--gold);
  color: #1b1b1b;
}

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

.article-card {
  border-radius: 26px;
  border: 1px solid rgba(241, 194, 125, 0.3);
  background: var(--card-bg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 420px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.5s var(--transition-heavy), border-color 0.3s;
}

.article-card:hover {
  transform: translateY(-10px);
  border-color: var(--accent);
}

.article-card figure {
  position: relative;
  overflow: hidden;
  margin: 0;
}

.article-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.7s;
}

.article-card:hover img {
  transform: scale(1.08);
}

.article-card .content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  flex: 1;
}

.article-card .meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.article-card .excerpt {
  color: var(--gray);
  line-height: 1.6;
}

.article-card .divider {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  margin: 0.3rem 0 0.7rem;
}

.article-card .cta {
  margin-top: auto;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--accent);
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.pagination button {
  background: #000;
  border: 1px solid #fff;
  color: #fff;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s;
}

.pagination button:hover,
.pagination button.active {
  background: var(--gold);
  color: #050505;
  border-color: var(--gold);
}

.products-preview,
.product-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.product-frame {
  padding: 1.5rem;
  border-radius: 32px;
  border: 3px solid rgba(255, 255, 255, 0.15);
  background: linear-gradient(135deg, rgba(241, 194, 125, 0.08), rgba(5, 5, 5, 0.9));
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.product-frame .frame-image {
  border: 4px double rgba(255, 255, 255, 0.2);
  padding: 0.5rem;
  border-radius: 28px;
  overflow: hidden;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05), transparent);
}

.product-frame img {
  border-radius: 24px;
  height: 230px;
  width: 100%;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.04);
}

.product-frame .tag {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  color: var(--accent);
}

.product-frame .learn-more {
  align-self: flex-start;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  background: linear-gradient(120deg, rgba(241, 194, 125, 0.25), rgba(61, 218, 215, 0.25));
  border: 1px solid rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  font-size: 0.85rem;
}

.article-layout {
  max-width: 960px;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4rem) 1rem;
}

.article-hero {
  border-radius: 30px;
  overflow: hidden;
  margin-bottom: 2rem;
  position: relative;
}

.article-hero img {
  height: 420px;
  width: 100%;
  object-fit: cover;
}

.article-hero h1 {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.7);
}

.article-body {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 28px;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  line-height: 1.8;
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.article-body h2 {
  color: var(--gold);
  margin-top: 2rem;
  letter-spacing: 0.12em;
}

.article-body figure {
  margin: 1.5rem 0;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.product-recommendations {
  margin-top: 3rem;
}

.footer {
  margin-top: 4rem;
  padding: 3rem 1rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(57, 57, 57, 0.4) 60%, #1b1b1b 100%);
  text-align: center;
}

.footer .mission {
  max-width: 720px;
  margin: 0 auto 1.5rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.contact-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 1rem 5rem;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.contact-card {
  border-radius: 24px;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-card h3 {
  margin-top: 0;
  color: var(--gold);
}

form {
  display: grid;
  gap: 1rem;
}

form input,
form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.4);
  color: var(--text-light);
  font-size: 1rem;
}

form button {
  border: none;
  border-radius: 30px;
  padding: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  background: linear-gradient(120deg, #000, var(--gold));
  color: #050505;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
}

@media (max-width: 768px) {
  .nav-wrapper {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-menu {
    flex-wrap: wrap;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .article-hero h1 {
    font-size: 2rem;
  }
}

