/* AbitudiniQuotidiane - Main Stylesheet */

:root {
  --terracotta-light: #D4A574;
  --terracotta-medium: #C4956A;
  --terracotta-dark: #B8895E;
  --cream: #FDF8F3;
  --cream-dark: #F5EDE4;
  --text-primary: #2D2926;
  --text-secondary: #5A524C;
  --white: #FFFFFF;
  --border-light: #E8DED4;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-primary);
  background-color: var(--cream);
}

h1, h2, h3, h4, h5, h6 {
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-weight: 400;
  line-height: 1.3;
  color: var(--text-primary);
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1.25rem;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

a {
  color: var(--terracotta-medium);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--terracotta-dark);
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.navbar {
  background: linear-gradient(135deg, var(--white) 0%, var(--cream) 100%);
  padding: 1rem 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--terracotta-medium);
  display: flex;
  align-items: center;
}

.navbar-brand img {
  height: 40px;
  margin-right: 10px;
  border-radius: 4px;
}

.navbar-brand:hover {
  color: var(--terracotta-dark);
}

.nav-link {
  color: var(--text-secondary);
  padding: 0.5rem 1rem;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--terracotta-medium);
}

.hero-section {
  background: linear-gradient(135deg, var(--cream) 0%, var(--cream-dark) 100%);
  padding: 4rem 0;
  min-height: 70vh;
  display: flex;
  align-items: center;
}

.hero-content {
  max-width: 600px;
}

.hero-image {
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.section {
  padding: 4rem 0;
}

.section-light {
  background-color: var(--white);
}

.section-cream {
  background-color: var(--cream);
}

.section-gradient {
  background: linear-gradient(180deg, var(--cream) 0%, var(--white) 100%);
}

.content-block {
  padding: 3rem 0;
}

.content-image {
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  margin-bottom: 1.5rem;
}

.card-custom {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 2rem;
  height: 100%;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.card-custom:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.card-custom img {
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

.btn-terracotta {
  background-color: var(--terracotta-light);
  color: var(--white);
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.btn-terracotta:hover {
  background-color: var(--terracotta-medium);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-outline-terracotta {
  background-color: transparent;
  color: var(--terracotta-medium);
  border: 2px solid var(--terracotta-light);
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.btn-outline-terracotta:hover {
  background-color: var(--terracotta-light);
  color: var(--white);
}

.limits-context {
  background: linear-gradient(135deg, var(--cream-dark) 0%, var(--cream) 100%);
  border-left: 4px solid var(--terracotta-light);
  padding: 2rem;
  border-radius: 0 12px 12px 0;
  margin: 2rem 0;
}

.limits-context h3 {
  color: var(--terracotta-dark);
}

.limits-context ul {
  list-style: none;
  padding: 0;
}

.limits-context ul li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-secondary);
}

.limits-context ul li::before {
  content: "•";
  color: var(--terracotta-light);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.disclaimer-box {
  background-color: var(--cream-dark);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 1.5rem;
  margin: 1.5rem 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.educational-notice {
  background: linear-gradient(135deg, var(--terracotta-light) 0%, var(--terracotta-medium) 100%);
  color: var(--white);
  padding: 1rem;
  text-align: center;
  font-size: 0.9rem;
}

footer {
  background: linear-gradient(135deg, var(--text-primary) 0%, #3D3632 100%);
  color: var(--cream);
  padding: 3rem 0 1.5rem;
}

footer h5 {
  color: var(--terracotta-light);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

footer p, footer a {
  color: rgba(253, 248, 243, 0.8);
  font-size: 0.9rem;
}

footer a:hover {
  color: var(--terracotta-light);
}

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

footer ul li {
  margin-bottom: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid rgba(253, 248, 243, 0.1);
  padding-top: 1.5rem;
  margin-top: 2rem;
}

.footer-educational {
  background-color: rgba(212, 165, 116, 0.2);
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  text-align: center;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--white);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  z-index: 9999;
  display: none;
}

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

.cookie-banner p {
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.form-control {
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
  border-color: var(--terracotta-light);
  box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.2);
  outline: none;
}

.contact-info {
  background-color: var(--cream-dark);
  border-radius: 12px;
  padding: 2rem;
}

.contact-info p {
  margin-bottom: 0.75rem;
}

.page-header {
  background: linear-gradient(135deg, var(--cream) 0%, var(--cream-dark) 100%);
  padding: 3rem 0;
  margin-bottom: 2rem;
}

.policy-content {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.policy-content h2 {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
}

.policy-content h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.thank-you-section {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, var(--cream) 0%, var(--cream-dark) 100%);
}

.thank-you-content {
  max-width: 500px;
}

@media (max-width: 991.98px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .hero-section {
    padding: 3rem 0;
    min-height: auto;
  }
  
  .section {
    padding: 3rem 0;
  }
}

@media (max-width: 767.98px) {
  h1 {
    font-size: 1.75rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  h3 {
    font-size: 1.25rem;
  }
  
  .hero-section {
    padding: 2rem 0;
  }
  
  .section {
    padding: 2rem 0;
  }
  
  .card-custom {
    padding: 1.5rem;
  }
  
  footer {
    padding: 2rem 0 1rem;
  }
}
