/* =========================================
   A Few of My Favourite Gifts Ltd
   Stylesheet
   ========================================= */

:root {
  --color-primary: #8b2e4a;
  --color-primary-dark: #6b2239;
  --color-primary-light: #b3516e;
  --color-accent: #d4a574;
  --color-accent-dark: #b88a5a;
  --color-cream: #faf6f0;
  --color-bg: #ffffff;
  --color-text: #2d2a2e;
  --color-text-muted: #6b6468;
  --color-border: #e8e2d9;
  --color-footer-bg: #2a1a21;
  --color-footer-text: #e8d9c4;
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --shadow-sm: 0 2px 8px rgba(43, 26, 33, 0.06);
  --shadow-md: 0 8px 24px rgba(43, 26, 33, 0.1);
  --shadow-lg: 0 16px 48px rgba(43, 26, 33, 0.14);
  --radius: 8px;
  --radius-lg: 16px;
  --container: 1200px;
  --transition: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;
}

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

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

a:hover {
  color: var(--color-primary-dark);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-text);
  margin-bottom: 0.75em;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

p { margin-bottom: 1em; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 16px;
}

.section-subtitle {
  text-align: center;
  color: var(--color-text-muted);
  margin-bottom: 48px;
  font-size: 1.05rem;
}

.section-eyebrow {
  text-align: center;
  color: var(--color-accent-dark);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 12px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  font-family: var(--font-body);
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: #fff;
}

/* ===== Header / Navigation ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  max-width: var(--container);
  margin: 0 auto;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--color-text);
}

.nav-brand-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  color: #fff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.3rem;
  box-shadow: var(--shadow-sm);
}

.nav-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav-brand-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
}

.nav-brand-subtitle {
  font-size: 0.72rem;
  color: var(--color-text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 8px;
  align-items: center;
}

.nav-menu a {
  color: var(--color-text);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: all var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--color-primary);
  background: rgba(139, 46, 74, 0.06);
}

.nav-cta {
  margin-left: 12px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, var(--color-cream) 0%, #f5ecdf 100%);
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(212, 165, 116, 0.25), transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(139, 46, 74, 0.1), transparent 70%);
  border-radius: 50%;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(139, 46, 74, 0.08);
  color: var(--color-primary);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-title {
  margin-bottom: 20px;
}

.hero-title span {
  color: var(--color-primary);
  font-style: italic;
}

.hero-text {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  margin-bottom: 32px;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 1 / 1;
  margin-left: auto;
}

.hero-visual-card {
  position: absolute;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}

.hero-visual-card-main {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72%;
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  color: #fff;
  padding: 28px;
}

.hero-visual-card-main .big {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 8vw, 4.5rem);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 12px;
}

.hero-visual-card-main .small {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1rem;
  opacity: 0.95;
  line-height: 1.3;
}

.hero-visual-card-sub1 {
  bottom: 4%;
  right: 2%;
  background: #fff;
  min-width: 140px;
  padding: 16px 22px;
}

.hero-visual-card-sub1 .icon {
  font-size: 1.75rem;
  color: var(--color-accent-dark);
  margin-bottom: 4px;
  line-height: 1;
}

.hero-visual-card-sub1 .label {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--color-text);
  white-space: nowrap;
}

.hero-visual-card-sub2 {
  top: 4%;
  left: 0;
  background: var(--color-accent);
  color: var(--color-footer-bg);
  padding: 12px 20px;
  min-width: 110px;
}

.hero-visual-card-sub2 .label {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
}

/* ===== Features ===== */
.features {
  background: #fff;
}

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

.feature {
  background: var(--color-cream);
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid transparent;
}

.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-border);
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.feature h3 {
  margin-bottom: 12px;
  color: var(--color-text);
}

.feature p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin: 0;
}

/* ===== Collections / Categories ===== */
.collections {
  background: var(--color-cream);
}

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

.collection {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.collection:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.collection-image {
  height: 200px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.collection-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(43, 26, 33, 0.6) 100%);
}

.collection-c1 { background: linear-gradient(135deg, #8b2e4a, #d4a574); }
.collection-c2 { background: linear-gradient(135deg, #d4a574, #faf6f0); }
.collection-c3 { background: linear-gradient(135deg, #6b2239, #b3516e); }
.collection-c4 { background: linear-gradient(135deg, #b3516e, #d4a574); }

.collection-body {
  padding: 24px;
}

.collection h3 {
  margin-bottom: 8px;
}

.collection p {
  color: var(--color-text-muted);
  margin: 0;
  font-size: 0.95rem;
}

/* ===== CTA Band ===== */
.cta-band {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: #fff;
  padding: 72px 0;
  text-align: center;
}

.cta-band h2 {
  color: #fff;
  margin-bottom: 16px;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  margin-bottom: 32px;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

.cta-band .btn {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-footer-bg);
}

.cta-band .btn:hover {
  background: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
  color: #fff;
}

/* ===== Page Header ===== */
.page-header {
  background: linear-gradient(135deg, var(--color-cream), #f5ecdf);
  padding: 72px 0 48px;
  text-align: center;
  position: relative;
}

.page-header h1 {
  margin-bottom: 12px;
}

.breadcrumbs {
  display: flex;
  justify-content: center;
  gap: 8px;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-top: 16px;
}

.breadcrumbs a {
  color: var(--color-text-muted);
}

.breadcrumbs a:hover {
  color: var(--color-primary);
}

/* ===== Content Pages ===== */
.content {
  padding: 72px 0;
}

.content-wrap {
  max-width: 820px;
  margin: 0 auto;
}

.content h2 {
  margin-top: 40px;
  margin-bottom: 16px;
  font-size: 1.6rem;
  color: var(--color-primary-dark);
}

.content h2:first-child {
  margin-top: 0;
}

.content h3 {
  margin-top: 28px;
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.content p, .content li {
  color: var(--color-text);
  font-size: 1rem;
  line-height: 1.75;
}

.content ul, .content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.2em;
}

.content li {
  margin-bottom: 8px;
}

.content .last-updated {
  background: var(--color-cream);
  padding: 16px 20px;
  border-radius: var(--radius);
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 32px;
  border-left: 4px solid var(--color-primary);
}

.content table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.content th {
  background: var(--color-primary);
  color: #fff;
  padding: 14px 16px;
  text-align: left;
  font-weight: 600;
}

.content td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text);
}

.content tr:last-child td {
  border-bottom: none;
}

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.contact-info {
  background: var(--color-cream);
  padding: 36px;
  border-radius: var(--radius-lg);
}

.contact-info h2 {
  margin-top: 0;
  margin-bottom: 20px;
  color: var(--color-primary-dark);
  font-size: 1.6rem;
}

.contact-list {
  list-style: none;
  padding: 0;
}

.contact-list li {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border);
  align-items: flex-start;
}

.contact-list li:last-child {
  border-bottom: none;
}

.contact-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.contact-item-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-text-muted);
  margin-bottom: 4px;
  font-weight: 600;
}

.contact-item-value {
  color: var(--color-text);
  font-weight: 500;
  word-break: break-word;
}

.contact-item-value a {
  color: var(--color-text);
}

.contact-item-value a:hover {
  color: var(--color-primary);
}

.contact-form {
  background: #fff;
  padding: 36px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.contact-form h2 {
  margin-top: 0;
  margin-bottom: 8px;
  color: var(--color-primary-dark);
  font-size: 1.6rem;
}

.contact-form-intro {
  color: var(--color-text-muted);
  margin-bottom: 24px;
  font-size: 0.95rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  color: var(--color-text);
  font-size: 0.9rem;
}

.form-group label .req {
  color: var(--color-primary);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text);
  background: #fff;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(139, 46, 74, 0.1);
}

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

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 20px 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.form-check input {
  margin-top: 3px;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  accent-color: var(--color-primary);
}

.form-submit {
  width: 100%;
}

.form-status {
  margin-top: 16px;
  padding: 14px;
  border-radius: var(--radius);
  display: none;
  font-size: 0.95rem;
}

.form-status.show { display: block; }

.form-status.success {
  background: #e8f5e9;
  color: #1b5e20;
  border: 1px solid #a5d6a7;
}

.form-status.error {
  background: #ffebee;
  color: #b71c1c;
  border: 1px solid #ef9a9a;
}

/* ===== Company Snapshot ===== */
.company-info {
  background: #fff;
}

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

.info-card {
  background: var(--color-cream);
  padding: 24px;
  border-radius: var(--radius);
  border-left: 4px solid var(--color-primary);
}

.info-card-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-text-muted);
  font-weight: 600;
  margin-bottom: 6px;
}

.info-card-value {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.3;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--color-footer-bg);
  color: var(--color-footer-text);
  padding: 64px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-family: var(--font-body);
  font-weight: 600;
}

.footer-col p,
.footer-col li {
  color: rgba(232, 217, 196, 0.75);
  font-size: 0.92rem;
  line-height: 1.7;
}

.footer-brand {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
}

.footer-brand-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-accent));
  color: #fff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.3rem;
}

.footer-brand-name {
  font-family: var(--font-heading);
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.2;
}

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

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul a {
  color: rgba(232, 217, 196, 0.75);
  transition: color var(--transition);
}

.footer-col ul a:hover {
  color: var(--color-accent);
}

.footer-company-info {
  background: rgba(255, 255, 255, 0.04);
  padding: 20px;
  border-radius: var(--radius);
  font-size: 0.85rem;
  line-height: 1.7;
}

.footer-company-info strong {
  color: #fff;
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
}

.footer-company-info span {
  display: block;
  margin-bottom: 4px;
}

.footer-company-info a {
  color: var(--color-accent);
}

.footer-bottom {
  border-top: 1px solid rgba(232, 217, 196, 0.15);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: rgba(232, 217, 196, 0.6);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-bottom-links a {
  color: rgba(232, 217, 196, 0.75);
}

.footer-bottom-links a:hover {
  color: var(--color-accent);
}

/* ===== Cookie Banner ===== */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 560px;
  margin: 0 auto;
  background: #fff;
  padding: 20px 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  display: none;
  border: 1px solid var(--color-border);
}

.cookie-banner.show { display: block; }

.cookie-banner p {
  margin-bottom: 16px;
  font-size: 0.9rem;
  color: var(--color-text);
}

.cookie-banner-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie-banner-actions .btn {
  padding: 10px 20px;
  font-size: 0.88rem;
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-text { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { margin: 20px auto 0; max-width: 360px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .section { padding: 56px 0; }
  .hero { padding: 48px 0 64px; }
  .nav-menu {
    position: fixed;
    inset: 72px 0 auto 0;
    background: #fff;
    flex-direction: column;
    padding: 20px;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    display: none;
    gap: 4px;
  }
  .nav-menu.open { display: flex; }
  .nav-menu a {
    width: 100%;
    padding: 12px 16px;
  }
  .nav-cta { width: 100%; margin: 8px 0 0; }
  .nav-toggle { display: flex; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
