/* Main site-wide styles for Shadow Art Designs */

:root {
  --bg: #fdf2ff;
  --muted: #6b6b6b;
  --accent: #a855f7;   /* purple */
  --accent-2: #f9a8d4; /* pink */
  --card: #fff;
  --shadow: 0 6px 18px rgba(14, 20, 30, 0.08);
  --radius: 12px;
  --max-w: 1100px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial;
}

@font-face {
  font-family: "Gistesy";
  src: url("../fonts/Gistesy.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  background: #eadefa;
  color: #111;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.45;
  padding: 24px;
  display: flex;
  justify-content: center;
}

.wrap {
  width: 100%;
  max-width: var(--max-w);
}

/* Header */

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

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

.logo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

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

nav a {
  color: var(--muted);
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 8px;
  font-weight: 600;
}

nav a.cta {
  background: #a9c3e8;
  color: #2b104f;
}

/* Header products dropdown */

.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  background: transparent;
  border: 0;
  color: var(--muted);
  padding: 8px 10px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0;
  min-width: 240px;
  background: #fff;
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: 6px 0;
  display: none;
  z-index: 80;
}

.nav-dropdown:hover .nav-dropdown-menu {
  display: block;
}

.nav-dropdown-item {
  display: block;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 8px 12px;
  font: inherit;
  color: var(--muted);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}

.nav-dropdown-item:hover {
  background: #fdf2ff;
  color: #3b1f5f;
}

/* Brand title font */

.site-title {
  font-family: "Gistesy", cursive;
  font-weight: 400;
  letter-spacing: 0.02em;
  font-size: 32px;
}

.mobile-toggle {
  display: none;
}

/* Buttons + cards */

.btn {
  padding: 10px 14px;
  border-radius: 10px;
  border: 0;
  font-weight: 700;
  cursor: pointer;
}

.btn-primary {
  background: #8b5cf6;
  color: #fff;
}

.btn-secondary {
  background: transparent;
  border: 1px solid #e6e6e9;
  color: var(--muted);
}

.hero-card {
  background: var(--card);
  padding: 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* About page image carousel */

.about-carousel {
  margin: 0 auto 24px;
  border-radius: 18px;
  overflow: hidden;
  background: transparent;
  box-shadow: var(--shadow);
  position: relative;
  aspect-ratio: 16 / 9;
  max-height: 420px;
  max-width: 720px;
}

.about-carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.about-carousel-slide.active {
  opacity: 1;
}

.about-carousel img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Generic sections */

section {
  margin-bottom: 26px;
}

.reviews {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.review {
  background: #fff;
  padding: 12px;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

/* Contact form */

.contact-form {
  display: grid;
  gap: 8px;
}

input,
textarea,
button {
  font: inherit;
}

input,
textarea {
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #e7e7ea;
}

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

/* Footer */

footer {
  padding: 18px 0;
  color: var(--muted);
  font-size: 14px;
  border-top: 1px solid #f1f1f2;
}

/* Responsive */

@media (max-width: 900px) {
  nav {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }
}

