/*
Theme Name: Lintea
Theme URI: https://lintea.app
Author: Lintea
Author URI: https://lintea.app
Description: Tema WordPress per Lintea - Piattaforma intelligente per automatizzare le prenotazioni con l'AI.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lintea
Tags: custom-menu, custom-logo, featured-images, full-width-template, theme-options
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
*/

/* Custom Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.8s ease-out forwards;
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

html {
  scroll-behavior: smooth;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Line clamp utility */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Breadcrumbs */
.lintea-seo-breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem;
  padding: 0;
  margin: 0 0 1.5rem;
  font-size: 0.875rem;
  color: #6b7280;
}

.lintea-seo-breadcrumbs ol li a {
  color: #2D5652;
  text-decoration: none;
  transition: color 0.2s;
}

.lintea-seo-breadcrumbs ol li a:hover {
  color: #0C2C47;
}

.lintea-seo-breadcrumbs ol li span[aria-current="page"] {
  color: #374151;
  font-weight: 500;
}

.lintea-seo-breadcrumb-sep {
  color: #9ca3af;
}

/* Content typography (the_content) */
.lintea-content h1 {
  font-size: 2.25rem;
  font-weight: 700;
  color: #0C2C47;
  margin-top: 2rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.lintea-content h2 {
  font-size: 1.875rem;
  font-weight: 700;
  color: #0C2C47;
  margin-top: 2rem;
  margin-bottom: 1rem;
  line-height: 1.25;
}

.lintea-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0C2C47;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.lintea-content h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1f2937;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.lintea-content h5,
.lintea-content h6 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1f2937;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}

.lintea-content p {
  margin-bottom: 1rem;
  line-height: 1.75;
}

.lintea-content ul {
  list-style-type: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.lintea-content ol {
  list-style-type: decimal;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.lintea-content li {
  margin-bottom: 0.25rem;
  line-height: 1.75;
}

.lintea-content .has-neve-text-color-color {
  color: #374151 !important;
}

.lintea-content .wp-block-cover,
.lintea-content .wp-block-cover .wp-block-cover__inner-container {
  color: #fff;
}

.lintea-content .wp-block-button__link {
  color: #fff !important;
  background: #E2A54D;
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s;
}

.lintea-content .wp-block-button__link:hover {
  background: #d69840;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
  transform: scale(1.05);
}

.lintea-content blockquote {
  border-left: 4px solid #E2A54D;
  padding-left: 1rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: #4b5563;
}

.lintea-content a {
  color: #2D5652;
  text-decoration: underline;
  transition: color 0.2s;
}

.lintea-content a:hover {
  color: #0C2C47;
}

.lintea-content img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
  margin: 1.5rem 0;
}

.lintea-content pre {
  background: #0C2C47;
  color: #e5e7eb;
  padding: 1rem 1.25rem;
  border-radius: 0.5rem;
  overflow-x: auto;
  margin: 1.5rem 0;
  font-size: 0.875rem;
  line-height: 1.7;
}

.lintea-content code {
  background: #f3f4f6;
  color: #dc2626;
  padding: 0.125rem 0.375rem;
  border-radius: 0.25rem;
  font-size: 0.875em;
}

.lintea-content pre code {
  background: none;
  color: inherit;
  padding: 0;
}

.lintea-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}

.lintea-content th,
.lintea-content td {
  border: 1px solid #e5e7eb;
  padding: 0.75rem 1rem;
  text-align: left;
}

.lintea-content th {
  background: #f9fafb;
  font-weight: 600;
}

.lintea-content hr {
  border: none;
  border-top: 2px solid #e5e7eb;
  margin: 2rem 0;
}
