/* Stile principale per la landing page Damiani&Damiani */
:root {
  --primary-color: #a01c1c;
  --secondary-color: #333333;
  --light-gray: #f5f5f5;
  --dark-gray: #444444;
  --white: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Open Sans', Arial, sans-serif;
}

body {
  line-height: 1.6;
  color: var(--secondary-color);
  background-color: var(--white);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Header */
header {
  background-color: var(--white);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.top-bar {
  background-color: var(--secondary-color);
  padding: 5px 0;
}

.top-bar .container {
  display: flex;
  justify-content: flex-end;
}

.top-bar a {
  color: var(--white);
  text-decoration: none;
  margin-left: 20px;
  font-size: 14px;
}

.logo-container {
  padding: 15px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  max-width: 250px;
  height: auto;
}

/* Hero Section */
.hero {
  background-image: url('https://damianianddamiani.com/wp-content/uploads/2016/12/slide-1.jpg');
  background-size: cover;
  background-position: center;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-align: center;
  margin-top: 120px;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 0 20px;
}

.hero h1 {
  font-size: 36px;
  margin-bottom: 20px;
  font-weight: 700;
}

.hero p {
  font-size: 18px;
  margin-bottom: 30px;
}

/* Main Content */
.main-content {
  padding: 60px 0;
}

.section-title {
  font-size: 32px;
  color: var(--primary-color);
  margin-bottom: 30px;
  text-align: center;
  font-weight: 700;
}

.content-box {
  background-color: var(--light-gray);
  padding: 40px;
  border-radius: 5px;
  margin-bottom: 40px;
}

.content-box p {
  margin-bottom: 20px;
  font-size: 16px;
}

.content-box strong {
  color: var(--primary-color);
}

/* CTA Section */
.cta-section {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 60px 0;
  text-align: center;
}

.cta-section h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

.cta-section p {
  font-size: 18px;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.btn {
  display: inline-block;
  background-color: var(--white);
  color: var(--primary-color);
  padding: 12px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  transition: all 0.3s ease;
}

.btn:hover {
  background-color: var(--secondary-color);
  color: var(--white);
}

/* FAQ Section */
.faq-section {
  padding: 60px 0;
  background-color: var(--light-gray);
}

.faq-item {
  margin-bottom: 20px;
  background-color: var(--white);
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.faq-question {
  padding: 20px;
  background-color: var(--white);
  color: var(--primary-color);
  font-weight: 700;
  cursor: pointer;
  position: relative;
  border-bottom: 1px solid #eee;
}

.faq-answer {
  padding: 20px;
  background-color: var(--white);
}

/* Contact Section */
.contact-section {
  padding: 60px 0;
}

.contact-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 40px;
}

.contact-item {
  flex: 0 0 calc(33.333% - 20px);
  margin-bottom: 20px;
  text-align: center;
}

.contact-item i {
  font-size: 36px;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.contact-item h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--secondary-color);
}

.contact-item p {
  font-size: 16px;
  color: var(--dark-gray);
}

.contact-form {
  background-color: var(--light-gray);
  padding: 40px;
  border-radius: 5px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
}

.form-control {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 16px;
}

textarea.form-control {
  height: 150px;
  resize: vertical;
}

/* Footer */
footer {
  background-color: var(--secondary-color);
  color: var(--white);
  padding: 40px 0;
  text-align: center;
}

.footer-logo {
  max-width: 200px;
  margin-bottom: 20px;
}

.footer-links {
  margin-bottom: 20px;
}

.footer-links a {
  color: var(--white);
  text-decoration: none;
  margin: 0 10px;
}

.footer-links a:hover {
  text-decoration: underline;
}

.copyright {
  font-size: 14px;
  color: #aaa;
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    height: 400px;
    margin-top: 100px;
  }
  
  .hero h1 {
    font-size: 28px;
  }
  
  .hero p {
    font-size: 16px;
  }
  
  .section-title {
    font-size: 28px;
  }
  
  .content-box {
    padding: 30px;
  }
  
  .contact-item {
    flex: 0 0 100%;
  }
}

@media (max-width: 576px) {
  .top-bar a {
    margin-left: 10px;
    font-size: 12px;
  }
  
  .logo {
    max-width: 200px;
  }
  
  .hero {
    height: 350px;
    margin-top: 90px;
  }
  
  .hero h1 {
    font-size: 24px;
  }
  
  .content-box {
    padding: 20px;
  }
  
  .btn {
    padding: 10px 20px;
    font-size: 16px;
  }
}
