/*
Theme Name: L'Impero Del Cuoio
Theme URI: https://example.com/limpero-del-cuoio
Author: OpenAI
Author URI: https://openai.com/
Description: A luxury one-page classic WordPress theme for L'Impero Del Cuoio, built for a Florentine leather boutique landing page.
Version: 1.2.9
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: limpero-del-cuoio
*/

:root {
  --bg: #f3ede2;
  --bg-soft: #faf6ef;
  --card: rgba(255, 255, 255, 0.72);
  --brown-900: #291a10;
  --brown-800: #3a2417;
  --brown-700: #5c3a28;
  --brown-600: #7a5239;
  --brown-500: #9c6f53;
  --gold: #c6a77c;
  --gold-soft: #dcc4a4;
  --text: #2d2119;
  --muted: #6c5a4e;
  --line: rgba(41, 26, 16, 0.12);
  --shadow: 0 18px 60px rgba(41, 26, 16, 0.12);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --content: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, .button { font: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: rgba(243, 237, 226, 0.86);
  border-bottom: 1px solid var(--line);
}
.container {
  width: min(calc(100% - 32px), var(--content));
  margin-inline: auto;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 82px;
}
.branding {
  display: flex;
  align-items: center;
  gap: 16px;
}
.custom-logo-link img,
.brand-logo img,
.footer-logo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: contain;
  background: transparent;
  box-shadow: none;
}
.brand-logo,
.custom-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}
.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.site-title {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.site-title a { color: var(--brown-900); }
.site-tagline {
  margin: 0;
  color: var(--muted);
  letter-spacing: 0.26em;
  text-transform: uppercase;
  font-size: 0.7rem;
}
.nav-fallback,
.primary-menu {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.primary-menu a,
.nav-fallback a {
  color: var(--brown-800);
  font-size: 0.95rem;
}
.primary-menu a:hover,
.nav-fallback a:hover {
  color: var(--brown-500);
}
.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--brown-900);
}

.hero {
  padding: 22px 0 28px;
}


.hero-shell {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 0;
  overflow: hidden;
  border-radius: 34px;
  background: linear-gradient(135deg, rgba(255,255,255,0.55), rgba(255,255,255,0.2));
  border: 1px solid rgba(255,255,255,0.5);
  box-shadow: var(--shadow);
}
.hero-copy {
  padding: 74px 64px;
  background: linear-gradient(180deg, rgba(250,246,239,0.95), rgba(243,237,226,0.92));
}
.eyebrow {
  display: inline-block;
  margin: 0 0 18px;
  color: var(--brown-600);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.76rem;
}
.hero-title,
.section-title,
.banner-title,
.visit-title,
.entry-title {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.05;
  color: var(--brown-900);
}
.hero-title {
  font-size: clamp(3rem, 4.4vw, 5.35rem);
  max-width: 9ch;
}
.hero-text,
.section-text,
.visit-text,
.entry-content {
  color: var(--muted);
  font-size: 1.03rem;
}
.hero-text {
  max-width: 56ch;
  margin: 22px 0 0;
}
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}
.btn,
.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 0.18s ease, background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--brown-900);
  color: #fff;
}
.btn-primary:hover { background: #1f130b; }
.btn-secondary {
  border-color: var(--line);
  color: var(--brown-900);
  background: rgba(255,255,255,0.54);
}
.btn-secondary:hover { background: rgba(255,255,255,0.8); }
.hero-media {
  position: relative;
  min-height: 720px;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-badge {
  position: absolute;
  right: 28px;
  bottom: 28px;
  background: rgba(41,26,16,0.72);
  color: #fff;
  padding: 16px 18px;
  border-radius: 18px;
  max-width: 230px;
  backdrop-filter: blur(16px);
}
.hero-badge strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.section {
  padding: 88px 0;
}
.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 40px;
}
.section-title { font-size: clamp(2.3rem, 3.2vw, 3.6rem); }
.section-text { margin: 16px auto 0; max-width: 56ch; }
.divider {
  width: 120px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 18px auto 0;
}

.collection-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}
.card {
  background: var(--card);
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.card-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.card:hover .card-media img { transform: scale(1.03); }
.card-body { padding: 24px 24px 28px; }
.card-title {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.7rem;
}
.card-text { color: var(--muted); margin: 12px 0 16px; }
.text-link {
  color: var(--brown-700);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.text-link:hover { color: var(--brown-900); }

.heritage-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
  align-items: stretch;
}
.copy-panel,
.image-panel {
  background: var(--card);
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.copy-panel {
  padding: 38px;
}
.feature-list {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}
.feature-item {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.feature-item strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.12rem;
  color: var(--brown-900);
  margin-bottom: 6px;
}
.image-panel {
  position: relative;
  min-height: 100%;
}
.image-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.overlay-box {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  background: rgba(255,255,255,0.84);
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: 22px;
  padding: 22px;
  box-shadow: var(--shadow);
}
.overlay-box .banner-title {
  font-size: clamp(1.7rem, 2vw, 2.4rem);
}
.overlay-box p {
  margin: 10px 0 0;
  color: var(--muted);
}

.banner-card {
  position: relative;
  overflow: hidden;
  border-radius: 36px;
  box-shadow: var(--shadow);
  min-height: 560px;
}
.banner-card > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.banner-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(29,18,10,0.68) 0%, rgba(29,18,10,0.42) 38%, rgba(29,18,10,0.14) 70%, rgba(29,18,10,0.08) 100%);
}
.banner-content {
  position: relative;
  z-index: 1;
  color: #fff;
  max-width: 540px;
  padding: 80px 64px;
}
.banner-content .eyebrow,
.banner-content .banner-title,
.banner-content p { color: #fff; }
.banner-title { font-size: clamp(2.6rem, 3.8vw, 4.3rem); max-width: 10ch; }
.banner-content p { margin-top: 18px; opacity: 0.92; }
.banner-content .btn-primary {
  background: #fff;
  color: var(--brown-900);
  margin-top: 26px;
}
.banner-content .btn-primary:hover { background: var(--bg-soft); }

.visit-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: center;
  padding: 34px;
  background: linear-gradient(180deg, rgba(255,255,255,0.82), rgba(255,255,255,0.68));
  border: 1px solid rgba(255,255,255,0.72);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}
.visit-title {
  font-size: clamp(2rem, 3vw, 3rem);
}
.address {
  margin: 18px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.36rem;
}
.visit-text { margin-top: 12px; max-width: 50ch; }
.visit-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
}
.meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.74);
  border: 1px solid var(--line);
  color: var(--brown-800);
}

.site-footer {
  padding: 28px 0 36px;
  margin-top: 28px;
}
.footer-shell {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 20px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.footer-text,
.footer-note {
  color: var(--muted);
  margin: 0;
}
.footer-text {
  font-family: Georgia, "Times New Roman", serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.content-shell {
  padding: 84px 0;
}
.entry-header { margin-bottom: 24px; }
.entry-title { font-size: clamp(2.3rem, 4vw, 3.7rem); }
.entry-content > * + * { margin-top: 1.1em; }
.entry-content a { color: var(--brown-700); }
.entry-content a:hover { color: var(--brown-900); }

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

@media (max-width: 980px) {
  .hero-shell,
  .heritage-grid,
  .visit-card,
  .collection-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .banner-content,
  .copy-panel,
  .visit-card {
    padding: 28px;
  }

  .hero-media { min-height: 420px; }
  .banner-card { min-height: 500px; }
  .visit-actions { justify-content: flex-start; }
}

@media (max-width: 760px) {
  .header-inner {
    min-height: 74px;
    flex-wrap: wrap;
    padding: 14px 0;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-navigation {
    width: 100%;
    display: none;
  }

  .site-navigation.is-open {
    display: block;
  }

  .nav-fallback,
  .primary-menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0 4px;
  }

  .hero {
    padding-top: 20px;
  }

  .hero-copy { padding: 26px; }
  .hero-media { min-height: 360px; }
  .hero-badge {
    right: 18px;
    left: 18px;
    bottom: 18px;
    max-width: none;
  }
  .section { padding: 64px 0; }
  .banner-content { padding: 28px; }
  .footer-shell {
    flex-direction: column;
    align-items: flex-start;
  }
}

.header-right {
  display: flex;
  align-items: center;
  gap: 18px;
}
.lang-switcher {
  display: inline-flex;
  align-items: center;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--line);
}
.lang-link {
  min-width: 44px;
  text-align: center;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--brown-700);
}
.lang-link.is-active {
  background: var(--brown-900);
  color: #fff;
}
.section-contact {
  padding-top: 0;
}
.contact-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 28px;
  align-items: stretch;
}
.contact-panel,
.map-panel {
  background: var(--card);
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.contact-panel {
  padding: 38px;
}
.contact-list {
  display: grid;
  gap: 18px;
  margin-top: 26px;
}
.contact-item {
  display: grid;
  gap: 6px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.contact-item:first-child {
  border-top: 0;
  padding-top: 0;
}
.contact-label {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  color: var(--brown-600);
}
.contact-item a {
  color: var(--brown-900);
  font-weight: 600;
}
.contact-item a:hover {
  color: var(--brown-500);
}
.contact-buttons {
  margin-top: 28px;
}
.map-panel {
  min-height: 520px;
}
.map-panel iframe {
  width: 100%;
  height: 100%;
  min-height: 520px;
  border: 0;
  display: block;
}
@media (max-width: 980px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 760px) {
  .header-right {
    width: 100%;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .lang-switcher {
    order: 1;
  }

  .menu-toggle {
    order: 2;
  }

  .site-navigation {
    order: 3;
  }

  .contact-panel {
    padding: 28px;
  }

  .map-panel,
  .map-panel iframe {
    min-height: 360px;
  }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-logo {
  flex: 0 0 auto;
}


.boutique-preview {
  padding-top: 0;
}
.boutique-preview-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 28px;
  align-items: center;
  background: linear-gradient(135deg, rgba(255,255,255,0.78), rgba(255,255,255,0.48));
  border: 1px solid rgba(255,255,255,0.72);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  padding: 34px;
}
.boutique-preview-copy {
  padding: 10px 8px;
}
.boutique-preview-copy .section-title {
  max-width: 9.5ch;
}
.boutique-preview-copy .section-text {
  margin-left: 0;
}
.boutique-preview-media {
  overflow: visible;
  border-radius: 24px;
  border: 1px solid rgba(41, 26, 16, 0.12);
  background: var(--bg-soft);
  box-shadow: 0 16px 42px rgba(41, 26, 16, 0.12);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
}
.boutique-preview-media img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: center top;
  border-radius: 18px;
}

@media (max-width: 980px) {
  .boutique-preview-grid {
    grid-template-columns: 1fr;
    padding: 28px;
  }
  .boutique-preview-copy .section-title {
    max-width: 100%;
  }
  .boutique-preview-media img {
    height: auto;
  }
}

@media (max-width: 760px) {
  .boutique-preview-grid {
    padding: 18px;
    border-radius: 22px;
  }
  .boutique-preview-media {
    border-radius: 18px;
  }
}


/* Social links */
.btn-social {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(255,255,255,0.72);
  border: 1px solid var(--line);
  color: var(--brown-900);
}
.btn-social:hover {
  background: #fff;
  border-color: var(--gold);
}
.btn-social svg,
.footer-social svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.btn-social svg path,
.footer-social svg path {
  fill: currentColor;
  stroke: none;
}
.footer-shell {
  justify-content: space-between;
  text-align: left;
}
.footer-social {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--brown-800);
  background: rgba(255,255,255,0.52);
  transition: .2s ease;
}
.footer-social a:hover {
  color: var(--brown-900);
  background: #fff;
  border-color: var(--gold);
  transform: translateY(-1px);
}
@media (max-width: 700px) {
  .footer-shell {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
  .footer-social {
    width: 100%;
  }
  .footer-social a {
    flex: 1 1 140px;
    justify-content: center;
  }
}
