/* ============================================
   Arredi & Contract - Static Clone
   ============================================ */

/* Outfit font - file locali nella cartella fonts/ */
@font-face {
  font-family: 'Outfit';
  src: url('../fonts/Outfit-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Outfit';
  src: url('../fonts/Outfit-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Outfit';
  src: url('../fonts/Outfit-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Outfit';
  src: url('../fonts/Outfit-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Outfit';
  src: url('../fonts/Outfit-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

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

:root {
  --dark: #657d6f;
  --darker: #484a4f;
  --gold: #d6c7ba;
  --gold-light: #e0d3c8;
  --white: #fff;
  --gray: #ccc;
  --gray-light: #fff;
  --font-body: 'Outfit', sans-serif;
  --font-display: 'Outfit', sans-serif;
  --max-width: 1200px;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--white);
  background: var(--dark);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 40px; }

/* ---------- HEADER / NAV ---------- */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(72,74,79,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
.logo img { height: 50px; width: auto; }

nav { display: flex; align-items: center; gap: 8px; }
nav a {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 13px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 8px 14px;
  color: rgba(255,255,255,0.7);
  transition: color 0.3s;
}
nav a:hover, nav a.active { color: var(--white); }

.cta-btn {
  display: inline-block;
  background: var(--gold);
  color: var(--darker);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 12px 28px;
  transition: background 0.3s, transform 0.2s;
}
.cta-btn:hover { background: var(--gold-light); transform: translateY(-1px); }

/* Mobile hamburger */
.hamburger { display: none; background: none; border: none; color: var(--white); font-size: 24px; cursor: pointer; }

/* ---------- HERO SECTIONS ---------- */
.hero {
  margin-top: 80px;
  position: relative;
  overflow: hidden;
  min-height: 500px;
  display: flex;
  align-items: center;
}
.hero-home {
  min-height: 90vh;
  background-color: var(--dark);
}
.hero-inner {
  display: flex;
  align-items: center;
  gap: 60px;
  padding: 80px 0;
}
.hero-text { flex: 1; }
.hero-text h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 48px;
  line-height: 1.2;
  margin-bottom: 30px;
  color: var(--gold);
}
.hero-images { flex: 1; display: flex; gap: 20px; align-items: center; }
.hero-images img { border-radius: 2px; }
.hero-img-1 { width: 55%; }
.hero-img-2 { width: 42%; }

/* Page hero (inner pages) */
.page-hero {
  margin-top: 80px;
  height: 600px;
  position: relative;
  display: flex;
  align-items: flex-end;
}
.page-hero img {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.page-hero::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(72,74,79,0.95) 0%, transparent 60%);
}
.page-hero h1 {
  position: relative; z-index: 1;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 52px;
  color: var(--gold);
	line-height: 1.2;
  padding: 40px 60px;
}

/* ---------- SECTIONS ---------- */
section { padding: 100px 0; }
section.alt { background: var(--darker); }

.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 36px;
  margin-bottom: 20px;
  color: var(--gold);
}
.section-subtitle {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 28px;
  margin-bottom: 16px;
  color: var(--gold);
}

/* Two-column layouts */
.two-col {
  display: flex;
  gap: 60px;
  align-items: center;
}
.two-col > * { flex: 1; }
.two-col img { border-radius: 2px; }
.two-col p { color: var(--white); font-weight: 300; line-height: 1.8; margin-bottom: 20px; }

.btn-outline {
  display: inline-block;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 14px 32px;
  margin-top: 10px;
  transition: all 0.3s;
}
.btn-outline:hover { background: var(--gold); color: var(--darker); }

/* ---------- SERVICES GRID ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 50px;
}
.service-card {
  text-align: center;
  padding: 30px 20px;
}
.service-card img { width: 60px; height: 60px; margin: 0 auto 20px; }
.service-card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: var(--gold);
}
.service-card p { font-size: 14px; font-weight: 300; color: var(--white); }

/* ---------- NUMBERED LIST (Hospitality/Servizi) ---------- */
.numbered-list { max-width: 800px; margin: 50px auto 0; }
.numbered-item {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  padding: 30px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.numbered-item .num {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 42px;
  color: var(--gold);
  line-height: 1;
  min-width: 50px;
}
.numbered-item h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  color: var(--gold);
}
.numbered-item p { color: var(--white); font-weight: 300; font-size: 15px; }

/* ---------- PROJECTS GRID ---------- */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 50px;
}
.projects-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 0.4s, filter 0.4s;
  cursor: pointer;
}
.projects-grid img:hover { transform: scale(1.03); filter: brightness(1.1); }

/* ---------- GALLERY GRID ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
  margin-top: 50px;
}
.gallery-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 0.4s;
  cursor: pointer;
}
.gallery-grid img:hover { transform: scale(1.02); }

/* ---------- CONTACT PAGE ---------- */
.contact-content {
  max-width: 700px;
  margin: 0 auto;
  padding: 80px 40px;
  text-align: center;
}
.contact-content h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 48px;
  margin-bottom: 50px;
  color: var(--gold);
}
.contact-info-block { margin-bottom: 30px; }
.contact-info-block h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.contact-info-block p { color: var(--white); font-weight: 300; font-size: 16px; line-height: 1.8; }
.contact-info-block a { color: var(--gold); border-bottom: 1px solid transparent; transition: border-color 0.3s; }
.contact-info-block a:hover { border-bottom-color: var(--gold); }

.contact-email-btn {
  display: inline-block;
  background: var(--gold);
  color: var(--darker);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 16px 40px;
  margin-top: 30px;
  transition: background 0.3s, transform 0.2s;
}
.contact-email-btn:hover { background: var(--gold-light); transform: translateY(-2px); }

/* ---------- QUALITY SECTION ---------- */
.quality-banner {
  width: 100%;
  margin: 40px 0;
}

/* ---------- FOOTER ---------- */
footer {
  background: var(--darker);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 60px 0 30px;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}
.footer-logo img { height: 45px; margin-bottom: 20px; }
.footer-col h4 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
  color: var(--gold);
}
.footer-col p { font-size: 14px; font-weight: 300; color: rgba(255,255,255,0.7); line-height: 1.8; }
.footer-col a { color: rgba(255,255,255,0.7); transition: color 0.3s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  max-width: var(--max-width);
  margin: 40px auto 0;
  padding: 20px 40px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,0.5);
  text-align: center;
}
.footer-bottom a { color: rgba(255,255,255,0.5); text-decoration: underline; }
.footer-bottom a:hover { color: var(--white); }

/* ---------- LIGHTBOX ---------- */
.lightbox {
  display: none;
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,0.92);
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
.lightbox.active { display: flex; }
.lightbox img { max-width: 90vw; max-height: 90vh; object-fit: contain; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .header-inner { padding: 0 20px; }
  nav { display: none; position: fixed; top: 80px; left: 0; right: 0; background: var(--darker); flex-direction: column; padding: 20px; gap: 0; }
  nav.open { display: flex; }
  nav a { padding: 12px 0; }
  .hamburger { display: block; }
  .container { padding: 0 20px; }
  .hero-inner { flex-direction: column; gap: 30px; padding: 40px 0; }
  .hero-text h1 { font-size: 32px; }
  .hero-images { width: 100%; }
  .two-col { flex-direction: column; gap: 30px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .page-hero { height: 300px; }
  .page-hero h1 { font-size: 36px; padding: 20px 30px; }
  .footer-inner { flex-direction: column; }
  .numbered-item { gap: 20px; }
  .numbered-item .num { font-size: 32px; }
}
@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
