/* Reset et styles de base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Roboto", sans-serif;
  line-height: 1.6;
  color: #333;
}
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Navigation */
nav {
  background-color: #fff;
  padding: 1rem 0;
  border-bottom: 1px solid #e2e8f0;
}
nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 40px;
  width: auto;
}
.nav-links a {
  font-family: "Amatic SC", cursive;
  font-size: 1.5rem;
  text-decoration: none;
  color: #333;
  margin-left: 1rem;
}
.nav-links a:hover {
  color: #718096;
}
.nav-links .cta {
  background-color: #4a5568;
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
}
.nav-links .cta:hover {
  background-color: #2d3748;
}

/* Sections générales */
section {
  padding: 4rem 0;
}
h1,
h2,
h3 {
  font-family: "Amatic SC", cursive;
  font-weight: 700;
}
h1 {
  font-size: 4rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.title-icon {
  width: 80px;
  height: auto;
}
h2 {
  font-size: 3rem;
  margin-bottom: 2rem;
  text-align: center;
}
h3 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
p {
  margin-bottom: 1rem;
}

/* Hero Section */
.hero {
  background-color: #f7fafc;
  text-align: center;
}
.hero-content {
  max-width: 600px;
  margin: 0 auto;
}
.hero-buttons {
  margin-top: 2rem;
}
.btn {
  display: inline-block;
  font-family: "Amatic SC", cursive;
  font-size: 1.5rem;
  padding: 0.5rem 1rem;
  margin: 0 0.5rem;
  text-decoration: none;
  color: #fff;
  background-color: #4a5568;
  border-radius: 0.25rem;
  transition: background-color 0.3s ease;
}
.btn:hover {
  background-color: #2d3748;
}
.btn-outline {
  color: #4a5568;
  background-color: transparent;
  border: 1px solid #4a5568;
}
.btn-outline:hover {
  color: #fff;
  background-color: #4a5568;
}

/* Features Section */
.features {
  background-color: #edf2f7;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
  max-width: 1000px;
  margin: 0 auto;
  gap: 2rem;
}
.feature {
  text-align: center;
}
.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1rem;
  background-color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

/* Products Section */
.product {
  display: flex;
  flex-direction: column;
  margin-bottom: 4rem;
}
.product-gallery {
  width: 100%;
  max-width: 600px;
  margin: 0 auto 1rem;
}

.main-image {
  width: 100%;
  height: 400px;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .main-image {
    height: 600px;
  }
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
  background: #f7fafc;
}

.thumbnails {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.thumbnail {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.3s;
}

.thumbnail:hover,
.thumbnail.active {
  opacity: 1;
}

.petit-marmo-image {
  width: 400px;
  height: auto;
}

@media (max-width: 768px) {
  .product-image {
    width: 100%;
  }
}
.product-info {
  flex: 1;
}
.product-price {
  font-family: "Amatic SC", cursive;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

/* Story Section */
.story {
  background-color: #edf2f7;
}
.story-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.story-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  margin-bottom: 2rem;
  border: 12px solid #fff;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
  background: #fff;
  padding: 2px;
}

/* Materials Section */
.materials {
    padding: 4rem 0;
    background: #f7fafc;
}

.materials-content {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-top: 2rem;
}

.materials-image {
    width: 50%;
    max-width: 600px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.materials-text {
    flex: 1;
}

.materials-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.material-section {
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.material-description {
    margin-top: 1rem;
}

.materials h4 {
    font-family: "Amatic SC", cursive;
    font-size: 2.5rem;
    color: #2d3748;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.material-features {
    list-style: none;
    margin: 1rem 0;
}

.material-features li {
    margin: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.model-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.model-card {
    text-align: center;
    padding: 1rem;
    background: #f7fafc;
    border-radius: 8px;
    transition: transform 0.2s;
}

.model-card:hover {
    transform: translateY(-2px);
}

.model-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
}

.model-card h5 {
    font-family: "Amatic SC", cursive;
    font-size: 1.8rem;
    margin: 0.5rem 0;
}

.custom-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.custom-option {
    background: #f7fafc;
    padding: 1rem;
    border-radius: 8px;
}

.custom-option h5 {
    font-family: "Amatic SC", cursive;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.custom-option ul {
    list-style: none;
    margin: 0.5rem 0;
}

.custom-option li {
    margin: 0.3rem 0;
    padding-left: 1rem;
    position: relative;
}

.custom-option li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #4a5568;
}

.craftsmanship-note {
    text-align: center;
    font-style: italic;
    margin-top: 2rem;
    color: #4a5568;
}

@media (max-width: 768px) {
    .materials-content {
        flex-direction: column;
        gap: 2rem;
    }

    .materials-image {
        width: 100%;
    }
}

/* Newsletter Section */
.newsletter {
  background-color: #2d3748;
  color: #fff;
  text-align: center;
}
.newsletter-form {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}
.newsletter-input {
  padding: 0.5rem 1rem;
  font-size: 1rem;
  border: none;
  border-radius: 0.25rem 0 0 0.25rem;
}
.newsletter-btn {
  font-family: "Amatic SC", cursive;
  font-size: 1.5rem;
  padding: 0.5rem 1rem;
  background-color: #4a5568;
  color: #fff;
  border: none;
  border-radius: 0 0.25rem 0.25rem 0;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.newsletter-btn:hover {
  background-color: #718096;
}

/* Footer */
footer {
  background-color: #1a202c;
  color: #fff;
  padding: 3rem 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}
.footer-section h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.footer-links {
  list-style: none;
}
.footer-links li {
  margin-bottom: 0.5rem;
}
.footer-links a {
  color: #cbd5e0;
  text-decoration: none;
}
.footer-links a:hover {
  color: #fff;
}
.social-links {
  display: flex;
  gap: 1rem;
}
.social-links a {
  color: #cbd5e0;
  font-size: 1.5rem;
  text-decoration: none;
}
.social-links a:hover {
  color: #fff;
}

.prototype-label {
    background-color: #f0f0f0;
    color: #666;
    padding: 3px 6px;
    border-radius: 3px;
    font-size: 0.7em;
    margin-left: 8px;
    font-family: 'Roboto', sans-serif;
    font-weight: normal;
    border: 1px solid #ddd;
}

/* Contact Form */
.contact {
    background-color: #f7fafc;
    padding: 4rem 0;
}

.contact-intro {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-family: "Amatic SC", cursive;
    font-size: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    font-size: 1rem;
    font-family: "Roboto", sans-serif;
}

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

.submit-status {
    margin-top: 1rem;
    text-align: center;
    font-weight: bold;
}

/* Responsive Design */
@media (min-width: 768px) {
  .product {
    flex-direction: row;
    align-items: center;
  }
  .product-image {
    margin-right: 2rem;
    margin-bottom: 0;
  }
  .story-content {
    flex-direction: row;
  }
  .story-image {
    width: 50%;
    margin-right: 2rem;
    margin-bottom: 0;
  }
}