/* Reset base */
* { box-sizing: border-box; margin:0; padding:0; }
body { 
  font-family: 'Roboto', Arial, sans-serif; 
  color: #333; 
  background: #f8f9fa; }

/* Header */
.topheader{
  min-height: 30px;
  background-color: #036529;
  width: 100%;
}
.site-header {
  display: flex; 
  justify-content: space-between; 
  align-items: center;
  padding: 1rem 2rem; 
  background: #008e5d; 
  border-bottom: 2px solid #ddd;
}
.logo-group img { height: 60px; }
.main-nav ul { 
  list-style: none; 
  display: flex; 
  gap: 1.5rem; }

.main-nav a {
  text-decoration: none; 
  color: #fff; 
  font-weight: 500;
}
.main-nav a:hover { 
  text-decoration: underline; 
}

/* Hero */
.hero {
  background-image: url('./img/sfondodigitapcloud.jpg') center/cover no-repeat;
  display: flex; align-items: center; justify-content: center;
  min-height: 60vh; position: relative; color: #fff;
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(0, 0, 0, 0.4);
}
.hero-content {
  position: relative; text-align: center; z-index:1;
}
.hero-content h1 {
  font-size: 2.5rem; margin-bottom: 1rem;
}
.hero-content p {
  font-size: 1.2rem; margin-bottom: 1.5rem;
}
.btn-primary {
  display: inline-block; padding: 0.75rem 1.5rem;
  background: #036529; color: #fff;
  text-decoration: none; border-radius: 0.3rem;
  font-weight: bold;
}
.btn-primary:hover { background: #008e5d; }

/* Intro */
.intro { padding: 2rem; max-width: 800px; margin: 0 auto; }
.intro h2 { color: #008e5d; margin-bottom: 1rem; }
.intro p { line-height: 1.6; margin-bottom: 1rem; }
.intro time { font-size: 0.9rem; color: #666; }

/* Footer */
.footermain {
  width: 100%;
  background-color: #333;
  color: #fff;
  box-sizing: border-box;
}
.footer-flag {
  background-color: #fff; 
  padding: 20px;
  display: flex; 
  justify-content: center; 
  align-items: center; 
  gap: 30px; 
  flex-wrap: wrap;
  border-bottom: 1px solid #e0e0e0;
}
.footer-flag img {
  max-width: 200px; 
  height: auto; 
  display: block; 
}
.site-footer {
  background: #666; 
  padding: 1.5rem 2rem;
  text-align: center; 
  border-top: 1px solid #ddd;
}
.site-footer ul {
  display: flex; justify-content: center; gap: 1rem;
  margin-bottom: 1rem; list-style: none;
}
.site-footer a {
  text-decoration: none; 
  color: #fff;
  font-weight: bold;
}
.site-footer a:hover { text-decoration: underline; }
.site-footer p { font-size: 0.9rem; color: #eee; }
