/*
Theme Name: www.interiordesignroma.com Theme
Theme URI: https://themelab.app
Author: Themelab
Author URI: https://themelab.app
Description: Tema generato automaticamente con Themelab + Claude AI
Version: 1.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: www-interiordesignroma-com-theme
Tags: elementor, custom, ai-generated
*/

/* Tutto il CSS "di base" del tema è dentro @layer base: senza layer
   batterebbe SEMPRE le utility Tailwind (es. .p-8, .mt-3) indipendentemente
   dalla specificità — un `* { margin: 0; padding: 0; }` non a layer, ad
   esempio, azzera ogni utility di spaziatura su ogni elemento del tema,
   a prescindere da quante classi p-*/m-* vengano aggiunte. Vedi anche
   wrap_in_base_layer. */
@layer base {

:root {
  --color-primary: #b8966e;
  --color-secondary: #8c6d4f;
  --font-main: 'Montserrat', sans-serif;
}

/* Esclude #wpadminbar (la admin bar nativa di WordPress, visibile a
   qualunque utente loggato con permessi di editing anche sul front-end)
   — senza questa esclusione il reset globale rompe il suo layout
   interno (dropdown, icone, spaziature), che si basa su un proprio
   box model non azzerato. :where() mantiene specificità 0 come * da
   solo, quindi non altera nient'altro nella cascata. */
:where(*:not(#wpadminbar, #wpadminbar *)) { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  background: #ffffff;
  color: #1a1a1a;
  line-height: 1.6;
}

/* Safety net: caps any unclassed/oversized image (e.g. an embedded
   base64 logo with no sizing utility) so it can never blow out the
   layout width — mirrors Tailwind's own preflight reset, but applies
   even if the Tailwind CDN script fails to load. */
img, svg { max-width: 100%; height: auto; }

.elementor-section { width: 100%; }

/* ── WP Bakery fallback layout ───────────────────────────────── */
.elz-row {
  display: flex; flex-wrap: wrap;
  max-width: 1200px; margin: 0 auto; padding: 3rem 1.5rem;
  gap: 1.5rem;
}
.elz-row--full { max-width: none; }
.elz-row-inner { padding: 0; }
.elz-col { flex: 1 1 0%; min-width: 0; }
.elz-col--1-2 { flex: 0 0 calc(50% - .75rem); }
.elz-col--1-3 { flex: 0 0 calc(33.333% - 1rem); }
.elz-col--2-3 { flex: 0 0 calc(66.667% - .75rem); }
.elz-col--1-4 { flex: 0 0 calc(25% - 1.125rem); }
.elz-col--3-4 { flex: 0 0 calc(75% - .375rem); }
.elz-text { line-height: 1.7; }
.elz-text p { margin-bottom: .85rem; }
.elz-btn {
  display: inline-block; padding: .75rem 1.75rem;
  border-radius: 8px; text-decoration: none; font-weight: 700;
  background: var(--color-primary); color: #fff; transition: opacity .2s;
}
.elz-btn:hover { opacity: .85; color: #fff; }
.elz-btn--outline { background: transparent; border: 2px solid var(--color-primary); color: var(--color-primary); }
.elz-btn--sm { padding: .45rem 1rem; font-size: .85rem; }
.elz-btn--lg { padding: 1rem 2.25rem; font-size: 1.1rem; }
.elz-separator { border: none; border-top: 1px solid #e5e7eb; margin: 1rem 0; }
@media (max-width: 768px) {
  .elz-row { flex-direction: column; padding: 2rem 1rem; }
  .elz-col--1-2, .elz-col--1-3, .elz-col--2-3,
  .elz-col--1-4, .elz-col--3-4 { flex: 0 0 100%; }
}

/* ── CSS estratto dal layout HTML originale ─────────────────── */

    :root {
      --color-primary: #b8966e;
      --color-secondary: #8c6d4f;
      --color-accent: #d4af80;
      --color-text: #1a1a1a;
      --color-muted: #7a7a7a;
      --color-background: #ffffff;
      --color-surface: #f5f3ef;
      --color-dark: #111111;
      --color-border: #e0d9d0;
      --r-sm: 4px;
      --r-md: 8px;
      --r-lg: 12px;
    }
    *, *::before, *::after { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      font-family: 'Montserrat', sans-serif;
      color: var(--color-text);
      background: var(--color-background);
      margin: 0;
      padding: 0;
    }
    h1, h2, h3, h4 {
      font-family: 'Cormorant Garamond', serif;
      font-weight: 300;
      letter-spacing: 0.02em;
    }
    .font-serif { font-family: 'Cormorant Garamond', serif; }
    .font-sans  { font-family: 'Montserrat', sans-serif; }

    /* Nav */
    .nav-link {
      font-family: 'Montserrat', sans-serif;
      font-size: 0.7rem;
      font-weight: 500;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: #ffffff;
      text-decoration: none;
      transition: color 0.25s;
      padding: 4px 0;
      border-bottom: 1px solid transparent;
    }
    .nav-link:hover { color: var(--color-accent); border-bottom-color: var(--color-accent); }

    /* Gold divider */
    .gold-line {
      display: block;
      width: 48px;
      height: 1px;
      background: var(--color-primary);
      margin: 16px auto;
    }
    .gold-line-left {
      display: block;
      width: 48px;
      height: 1px;
      background: var(--color-primary);
      margin: 16px 0;
    }

    /* Buttons */
    .btn-primary {
      display: inline-block;
      font-family: 'Montserrat', sans-serif;
      font-size: 0.65rem;
      font-weight: 600;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      background: var(--color-primary);
      color: #ffffff;
      border: none;
      padding: 14px 32px;
      border-radius: var(--r-sm);
      cursor: pointer;
      text-decoration: none;
      transition: background 0.25s;
    }
    .btn-primary:hover { background: var(--color-secondary); }
    .btn-outline {
      display: inline-block;
      font-family: 'Montserrat', sans-serif;
      font-size: 0.65rem;
      font-weight: 600;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      background: transparent;
      color: var(--color-primary);
      border: 1px solid var(--color-primary);
      padding: 14px 32px;
      border-radius: var(--r-sm);
      cursor: pointer;
      text-decoration: none;
      transition: background 0.25s, color 0.25s;
    }
    .btn-outline:hover { background: var(--color-primary); color: #ffffff; }

    /* Section label */
    .section-label {
      font-family: 'Montserrat', sans-serif;
      font-size: 0.6rem;
      font-weight: 600;
      letter-spacing: 0.3em;
      text-transform: uppercase;
      color: var(--color-primary);
    }

    /* Hero overlay */
    .hero-overlay {
      background: linear-gradient(135deg, rgba(10,10,10,0.82) 0%, rgba(30,20,10,0.65) 100%);
    }

    /* Card hover */
    .feature-card:hover { transform: translateY(-4px); }
    .feature-card { transition: transform 0.3s; }

    /* Testimonial card */
    .testimonial-card {
      background: var(--color-surface);
      border-left: 3px solid var(--color-primary);
      border-radius: var(--r-md);
    }

    /* Mobile menu */
    #mobile-menu { display: none; }
    #mobile-menu.open { display: block; }

    /* Scroll reveal subtle */
    .reveal { transition: transform 0.6s cubic-bezier(0.22,1,0.36,1); }
  


/* Force visibility on all fade/reveal/appear elements after 1.5s */
.fadeIn, .fadeInUp, .fadeInDown, .fadeInLeft, .fadeInRight,
.fade-up, .fade-in, .reveal, .appear, .slide-up,
[class*="fadeIn"], [class*="fade-"], [class*="reveal"], [class*="appear"] {
  animation-fill-mode: forwards !important;
}



:root{
--wp--preset--color--black: #000000;
--wp--preset--color--cyan-bluish-gray: #abb8c3;
--wp--preset--color--white: #FFF;
--wp--preset--color--pale-pink: #f78da7;
--wp--preset--color--vivid-red: #cf2e2e;
--wp--preset--color--luminous-vivid-orange: #ff6900;
--wp--preset--color--luminous-vivid-amber: #fcb900;
--wp--preset--color--light-green-cyan: #7bdcb5;
--wp--preset--color--vivid-green-cyan: #00d084;
--wp--preset--color--pale-cyan-blue: #8ed1fc;
--wp--preset--color--vivid-cyan-blue: #0693e3;
--wp--preset--color--vivid-purple: #9b51e0;
--wp--preset--gradient--vivid-cyan-blue-to-vivid-purple: linear-gradient(135deg,rgba(6,147,227,1) 0%,rgb(155,81,224) 100%);
--wp--preset--gradient--light-green-cyan-to-vivid-green-cyan: linear-gradient(135deg,rgb(122,220,180) 0%,rgb(0,208,130) 100%);
--wp--preset--gradient--luminous-vivid-amber-to-luminous-vivid-orange: linear-gradient(135deg,rgba(252,185,0,1) 0%,rgba(255,105,0,1) 100%);
--wp--preset--gradient--luminous-vivid-orange-to-vivid-red: linear-gradient(135deg,rgba(255,105,0,1) 0%,rgb(207,46,46) 100%);
--wp--preset--gradient--very-light-gray-to-cyan-bluish-gray: linear-gradient(135deg,rgb(238,238,238) 0%,rgb(169,184,195) 100%);
--wp--preset--gradient--cool-to-warm-spectrum: linear-gradient(135deg,rgb(74,234,220) 0%,rgb(151,120,209) 20%,rgb(207,42,186) 40%,rgb(238,44,130) 60%,rgb(251,105,98) 80%,rgb(254,248,76) 100%);
--wp--preset--gradient--blush-light-purple: linear-gradient(135deg,rgb(255,206,236) 0%,rgb(152,150,240) 100%);
--wp--preset--gradient--blush-bordeaux: linear-gradient(135deg,rgb(254,205,165) 0%,rgb(254,45,45) 50%,rgb(107,0,62) 100%);
--wp--preset--gradient--luminous-dusk: linear-gradient(135deg,rgb(255,203,112) 0%,rgb(199,81,192) 50%,rgb(65,88,208) 100%);
--wp--preset--gradient--pale-ocean: linear-gradient(135deg,rgb(255,245,203) 0%,rgb(182,227,212) 50%,rgb(51,167,181) 100%);
--wp--preset--gradient--electric-grass: linear-gradient(135deg,rgb(202,248,128) 0%,rgb(113,206,126) 100%);
--wp--preset--gradient--midnight: linear-gradient(135deg,rgb(2,3,129) 0%,rgb(40,116,252) 100%);
--wp

/* ── CSS personalizzato generato da Claude ───────────────────── */


/* ── Nav menu WordPress ──────────────────────────────────────── */
.nav-menu { list-style: none; display: flex; align-items: center; gap: 1.5rem; margin: 0; padding: 0; }
.nav-menu li { margin: 0; }
.nav-menu a {
  text-decoration: none; font-weight: 500; font-size: .95rem;
  color: inherit; transition: opacity .2s; white-space: nowrap;
}
.nav-menu a:hover { opacity: .7; }
@media (max-width: 768px) {
  .nav-menu { display: none; }
  .main-navigation.open .nav-menu { display: flex; flex-direction: column; gap: .75rem; }
}

/* ── Page header banner — page.php / single.php / archive.php ──
   Stessa identità visiva (colori/font) dell'header/hero generato, ma
   generica: usata per contenuti WP "reali" (pagine statiche, articoli,
   archivi) che non hanno un design AI dedicato come front-page.php. */
.tl-page-header {
  background: var(--color-surface, #f8f9fb);
  border-bottom: 1px solid var(--color-border, #ececec);
  padding: 72px 24px 56px;
  text-align: center;
}
.tl-page-header-inner { max-width: 820px; margin: 0 auto; }
.tl-page-header-eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em;
  color: var(--color-primary); margin-bottom: .75rem;
}
.tl-page-header-title {
  font-family: var(--font-main); font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700; line-height: 1.15; margin: 0 0 .5rem;
}
.tl-page-header-desc { font-size: 1.05rem; color: var(--color-muted, #666); margin-top: .5rem; }
.tl-page-header-meta {
  display: flex; justify-content: center; flex-wrap: wrap; gap: .5rem 1rem;
  margin-top: 1rem; font-size: .9rem; color: var(--color-muted, #777);
}

/* ── Contenuto pagina/articolo (output di the_content(), non AI-generated:
   va tipografato a parte perché non passa dallo scan Tailwind statico) ── */
.tl-prose { max-width: 760px; margin: 0 auto; padding: 56px 24px 80px; line-height: 1.75; font-size: 1.05rem; }
.tl-prose h1, .tl-prose h2, .tl-prose h3, .tl-prose h4 { font-weight: 700; line-height: 1.3; margin: 2em 0 .6em; }
.tl-prose > *:first-child { margin-top: 0; }
.tl-prose h2 { font-size: 1.6rem; }
.tl-prose h3 { font-size: 1.3rem; }
.tl-prose p { margin: 0 0 1.25em; }
.tl-prose a { color: var(--color-primary); text-decoration: underline; text-underline-offset: 2px; }
.tl-prose ul, .tl-prose ol { margin: 0 0 1.25em 1.4em; }
.tl-prose li { margin-bottom: .4em; }
.tl-prose img { border-radius: var(--r-lg, 12px); margin: 1.5em 0; height: auto; max-width: 100%; }
.tl-prose blockquote {
  border-left: 3px solid var(--color-primary); margin: 1.5em 0; padding: .5em 0 .5em 1.25em;
  font-style: italic; color: var(--color-muted, #555);
}
.tl-prose figcaption { font-size: .85rem; color: var(--color-muted, #888); text-align: center; margin-top: .5em; }
.tl-prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; }
.tl-prose table th, .tl-prose table td { border: 1px solid var(--color-border, #eee); padding: .6em .8em; text-align: left; }
.tl-page-links { margin-top: 2em; font-size: .9rem; }

.tl-archive-empty { text-align: center; padding: 60px 20px; color: var(--color-muted, #888); }

/* ── Paginazione archivi (paginate_links()) ── */
.tl-pagination { display: flex; justify-content: center; gap: .5rem; padding: 40px 24px 80px; flex-wrap: wrap; }
.tl-pagination a, .tl-pagination span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 .75rem; border-radius: var(--r-md, 8px);
  border: 1px solid var(--color-border, #eee); text-decoration: none; color: inherit; font-size: .9rem;
}
.tl-pagination a:hover { border-color: var(--color-primary); color: var(--color-primary); }
.tl-pagination .current { background: var(--color-primary); border-color: var(--color-primary); color: #fff; font-weight: 600; }

/* ── Single post: tag + navigazione articolo precedente/successivo ── */
.tl-single-footer { max-width: 760px; margin: 0 auto; padding: 0 24px 40px; }
.tl-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 2rem; }
.tl-tags a {
  font-size: .8rem; padding: .3rem .75rem; border-radius: 999px; background: var(--color-surface, #f4f4f5);
  color: inherit; text-decoration: none; border: 1px solid var(--color-border, #eee);
}
.tl-tags a:hover { border-color: var(--color-primary); color: var(--color-primary); }
.tl-post-nav { display: flex; justify-content: space-between; gap: 1.5rem; margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--color-border, #eee); }
.tl-post-nav > div { flex: 1 1 0; }
.tl-post-nav .next { text-align: right; }
.tl-post-nav a { color: inherit; text-decoration: none; }
.tl-post-nav a:hover .tl-post-nav-title { color: var(--color-primary); }
.tl-post-nav-label { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; color: var(--color-muted, #999); margin-bottom: .25rem; }
.tl-post-nav-title { font-weight: 600; }

/* ── Commenti (markup di default WP — html5 support già dichiarato in
   functions.php, quindi <article>/<ol class="comment-list"> reali,
   non le <ul> legacy). Nessun comments.php custom: si stila il
   markup core così i temi restano aggiornati con qualunque fix di
   WordPress sul form invece di congelare un fork del template. ── */
.tl-single-footer .comments-title,
.tl-single-footer .comment-reply-title { font-family: var(--font-main); font-weight: 700; font-size: 1.3rem; margin: 0 0 1.5rem; }
.tl-single-footer .comment-list { list-style: none; margin: 0 0 2rem; padding: 0; }
.tl-single-footer .comment-list .children { list-style: none; margin: 0; padding-left: 2.5rem; }
.tl-single-footer .comment-body { padding: 1.5rem 0; border-bottom: 1px solid var(--color-border, #eee); }
.tl-single-footer .comment-author.vcard { display: flex; align-items: center; gap: .6rem; margin-bottom: .5rem; }
.tl-single-footer .comment-author .avatar { border-radius: 999px; width: 36px; height: 36px; }
.tl-single-footer .comment-author .fn { font-style: normal; font-weight: 600; }
.tl-single-footer .comment-metadata { font-size: .8rem; color: var(--color-muted, #999); margin-bottom: .6rem; }
.tl-single-footer .comment-metadata a { color: inherit; }
.tl-single-footer .comment-content p { margin: 0 0 .75em; line-height: 1.65; }
.tl-single-footer .reply { margin-top: .5rem; }
.tl-single-footer .comment-reply-link {
  font-size: .8rem; font-weight: 600; color: var(--color-primary); text-decoration: none;
}
.tl-single-footer .comment-reply-link:hover { text-decoration: underline; }
.tl-single-footer .comment-respond { margin-top: 1rem; }
.tl-single-footer .comment-notes,
.tl-single-footer .comment-form p:not(.form-submit) { margin: 0 0 1rem; }
.tl-single-footer .comment-form label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: .35rem; }
.tl-single-footer .comment-form input[type="text"],
.tl-single-footer .comment-form input[type="email"],
.tl-single-footer .comment-form input[type="url"],
.tl-single-footer .comment-form textarea {
  width: 100%; padding: .65rem .85rem; border: 1px solid var(--color-border, #ddd);
  border-radius: var(--r-md, 8px); font-family: inherit; font-size: .95rem;
}
.tl-single-footer .comment-form textarea { min-height: 130px; resize: vertical; }
.tl-single-footer .comment-form input:focus,
.tl-single-footer .comment-form textarea:focus { outline: none; border-color: var(--color-primary); }
.tl-single-footer .form-submit input[type="submit"] {
  display: inline-block; padding: .75rem 1.75rem; border: none; cursor: pointer;
  border-radius: var(--r-md, 8px); font-weight: 700; font-size: .95rem;
  background: var(--color-primary); color: #fff; transition: opacity .2s;
}
.tl-single-footer .form-submit input[type="submit"]:hover { opacity: .85; }
.tl-single-footer .no-comments { color: var(--color-muted, #999); }

} /* /@layer base */


