/* Variables */
:root {
  --primary-color: #2c3e50;
  --secondary-color: #e8dbce;
  --accent-color: #b08d6a;
  --text-color: #333333;
  --light-text: #666666;
  --bg-color: #ffffff;
  --bg-light: #f9f8f6;
  --border-color: #e0e0e0;
  
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  
  --transition: all 0.3s ease;
  --header-height: 80px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-body);
  color: var(--text-color);
  background-color: var(--bg-color);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  margin-bottom: 1rem;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

/* Typography Classes */
.text-center { text-align: center; }
.text-white { color: #fff; }
.lead { font-size: 1.2rem; margin-bottom: 2rem; color: var(--light-text); font-weight: 300; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 30px;
  font-family: var(--font-heading);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  border-radius: 2px;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  border: 1px solid transparent;
}

.btn-primary {
  background-color: var(--primary-color);
  color: #fff;
}

.btn-primary:hover {
  background-color: #1a252f;
  color: #fff;
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-secondary:hover {
  background-color: var(--primary-color);
  color: #fff;
}

/* Header & Nav */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: var(--transition);
}

.header.scrolled {
  height: 70px;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo a {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 500;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--accent-color);
  transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

/* Hamburger */
.hamburger {
  display: none;
  cursor: pointer;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  background-color: var(--primary-color);
}

/* Sections */
.section {
  padding: 80px 0;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  text-align: center;
  position: relative;
  padding-bottom: 15px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background-color: var(--accent-color);
}

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

.section-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

/* Hero */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background-image: url('2026 Negozio Vestiti LeStreghe Small (1).jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  margin-top: var(--header-height);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 800px;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  font-weight: 300;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.hero-buttons .btn-secondary {
  border-color: #fff;
  color: #fff;
}

.hero-buttons .btn-secondary:hover {
  background-color: #fff;
  color: var(--primary-color);
}

/* Grids */
.grid {
  display: grid;
  gap: 30px;
}

.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

/* Cards */
.card {
  background: #fff;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.card-img {
  height: 250px;
  background-size: cover;
  background-position: center;
}

.card-body {
  padding: 25px;
  flex-grow: 1;
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

/* EEAT box */
.eeat-box {
  margin-top: 30px;
  padding: 20px;
  background: #fff;
  border-left: 4px solid var(--accent-color);
  text-align: left;
  font-style: italic;
  font-size: 0.95rem;
  color: var(--light-text);
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

/* Quote */
.quote {
  font-size: 1.8rem;
  font-family: var(--font-heading);
  font-style: italic;
  text-align: center;
  color: var(--accent-color);
  margin: 30px 0 50px;
  font-weight: 300;
}

/* Features */
.feature-box {
  text-align: center;
  padding: 30px 20px;
  background: #fff;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.feature-box:hover {
  border-color: var(--accent-color);
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.feature-title {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: var(--primary-color);
}

/* CTA Section */
.cta-section {
  background-color: var(--primary-color);
  color: #fff;
  padding: 100px 0;
}

.cta-section .section-title::after {
  background-color: #fff;
}

.cta-subtitle {
  font-size: 1.2rem;
  margin-bottom: 30px;
  font-weight: 300;
}

/* Gallery Slider */
.hashtag {
  font-family: var(--font-heading);
  color: var(--accent-color);
  font-weight: 600;
  margin-bottom: 30px;
}

.slider-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 4px;
}

.slider-track {
  display: flex;
  transition: transform 0.5s ease;
}

.slider-track img {
  width: 100%;
  flex-shrink: 0;
  object-fit: cover;
  max-height: 600px;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.8);
  border: none;
  width: 50px;
  height: 50px;
  font-size: 24px;
  cursor: pointer;
  color: var(--primary-color);
  transition: var(--transition);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-btn:hover {
  background: #fff;
  color: var(--accent-color);
}

.slider-btn.prev { left: 10px; }
.slider-btn.next { right: 10px; }

/* FAQ */
.faq-item {
  margin-bottom: 25px;
  background: #fff;
  padding: 25px;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
  text-align: left;
}

.faq-question {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.faq-answer {
  color: var(--light-text);
}

/* Footer */
.footer {
  background-color: #1a252f;
  color: #ecf0f1;
  padding: 60px 0 20px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-info p {
  color: #bdc3c7;
}

.footer-link {
  color: var(--accent-color);
  text-decoration: underline;
  cursor: pointer;
}

.footer-link:hover {
  color: #fff;
}

.footer-bottom {
  text-align: center;
  font-size: 0.85rem;
  color: #7f8c8d;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal.show {
  display: block;
  opacity: 1;
}

.modal-content {
  background-color: #fefefe;
  margin: 5% auto;
  padding: 40px;
  border: 1px solid #888;
  width: 90%;
  max-width: 800px;
  position: relative;
  border-radius: 4px;
  transform: translateY(-20px);
  transition: transform 0.3s ease;
}

.modal.show .modal-content {
  transform: translateY(0);
}

.close-modal {
  color: #aaa;
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 35px;
  font-weight: bold;
  cursor: pointer;
  transition: var(--transition);
}

.close-modal:hover,
.close-modal:focus {
  color: var(--primary-color);
  text-decoration: none;
}

.modal-body h2 {
  margin-bottom: 20px;
}

.modal-body h3 {
  margin-top: 25px;
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.modal-body p, .modal-body ul {
  margin-bottom: 15px;
  color: var(--light-text);
}

.modal-body ul {
  padding-left: 20px;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-title { font-size: 2.8rem; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(1, 1fr); }
}

@media (max-width: 768px) {
  .hamburger { display: block; }
  
  .nav-list {
    position: fixed;
    left: -100%;
    top: var(--header-height);
    flex-direction: column;
    background-color: #fff;
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 10px rgba(0,0,0,0.1);
    padding: 20px 0;
    gap: 0;
  }
  
  .nav-list.active {
    left: 0;
  }
  
  .nav-item {
    margin: 15px 0;
  }
  
  .nav-link {
    display: block;
    padding: 10px;
  }
  
  .hamburger.active .bar:nth-child(2) { opacity: 0; }
  .hamburger.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .hamburger.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  
  .hero-title { font-size: 2.2rem; }
  .hero-buttons { flex-direction: column; }
  
  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
  }
}

@media (max-width: 576px) {
  .grid-4 { grid-template-columns: 1fr; }
  .hero-title { font-size: 1.8rem; }
  .section-title { font-size: 2rem; }
  .quote { font-size: 1.4rem; }
}
