/* Modern golden-ratio design system for Alumil single page */
:root {
  --phi: 1.618;
  --base: 16px;
  --s0: var(--base);
  --s1: calc(var(--s0) * var(--phi));
  --s2: calc(var(--s1) * var(--phi));
  --s3: calc(var(--s2) * var(--phi));

  --alumil-yellow: #f6d311;
  --alumil-ink: #0f1216;
  --alumil-graphite: #1a1f26;
  --alumil-grey: #8a94a6;
  --bg: #0b0e12;
  --card: #131820;
  --surface: #0f141b;
  --white: #ffffff;

  --radius: 14px;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
  --ease: cubic-bezier(.22,1,.36,1);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: Manrope, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--white);
  background: radial-gradient(1200px 600px at 10% 0%, #11161e, var(--bg));
  line-height: 1.6;
}

.container {
  width: min(1200px, 92vw);
  margin: 0 auto;
  padding: calc(var(--s0) * .75);
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(1.4) blur(8px);
  background: linear-gradient(to bottom, rgba(18,22,29,.8), rgba(18,22,29,.55));
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: baseline; text-decoration: none; color: var(--white); gap: 8px; }
.brand-mark { color: var(--alumil-yellow); font-weight: 700; }
.brand-text { font-weight: 700; letter-spacing: .5px; }
.brand-sub { color: var(--alumil-grey); font-size: .9rem; }
.nav { display: flex; gap: 20px; align-items: center; }
.nav a { color: var(--white); text-decoration: none; opacity: .9; transition: opacity .2s var(--ease); }
.nav a:hover { opacity: 1; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: .7rem 1.1rem; border-radius: 999px; text-decoration: none; font-weight: 600; }
.btn-primary { background: var(--alumil-yellow); color: #121212; box-shadow: var(--shadow); }
.btn-ghost { border: 1px solid rgba(255,255,255,.14); color: var(--white); }
.btn-primary:hover { filter: brightness(1.05); transform: translateY(-1px); }
.btn-ghost:hover { border-color: rgba(255,255,255,.24); }

/* Hero */
.hero { position: relative; min-height: 72vh; display: grid; align-items: center; }
.hero-bg { position: absolute; inset: 0; background:
  linear-gradient(to bottom, rgba(0,0,0,.55), rgba(0,0,0,.25)),
  radial-gradient(600px 260px at 80% 10%, rgba(0,0,0,.35), transparent),
  url('https://valueline.in/wp-content/uploads/2025/04/giati-alouminio-banner.jpeg');
  background-size: cover; background-position: center top;
  transform: translateY(0); transition: transform .8s var(--ease);
}
.hero-content { position: relative; z-index: 1; padding: calc(var(--s1)); }
.hero h1 { font-size: clamp(2rem, 3.2vw + 1rem, var(--s3)); letter-spacing: .4px; margin: 0 0 calc(var(--s0)); text-shadow: 0 2px 12px rgba(0,0,0,.35); }
.hero p { max-width: 60ch; font-size: clamp(1rem, 1vw + .6rem, var(--s1)); color: rgba(255,255,255,.92); margin: 0 0 calc(var(--s0)); text-shadow: 0 1px 10px rgba(0,0,0,.35); }
.hero .cta { display: flex; gap: 12px; }

/* Sections */
.section { padding: calc(var(--s2)) 0; }
.section-title { font-size: clamp(1.6rem, 2.2vw + .6rem, var(--s2)); margin: 0 0 calc(var(--s1)); }
.lead { font-size: clamp(1.05rem, 1vw + .6rem, var(--s1)); color: var(--alumil-grey); max-width: 70ch; }

/* Cards and grids */
.features-grid, .cards { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; }
@media (max-width: 960px) { .features-grid, .cards { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 560px) { .features-grid, .cards { grid-template-columns: 1fr; } }

.card { background: var(--card); border: 1px solid rgba(255,255,255,.06); border-radius: var(--radius); padding: calc(var(--s0) * 1.1); box-shadow: 0 1px 0 rgba(255,255,255,.04) inset; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(0,0,0,.45); border-color: rgba(255,255,255,.12); }
.card h3 { margin: 0 0 .4rem; font-size: clamp(1.1rem, 1.6vw + .6rem, var(--s1)); }
.card p { margin: 0; color: var(--alumil-grey); }
.card-icon { font-size: 1.6rem; margin-bottom: .6rem; }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
@media (max-width: 860px) { .gallery-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 560px) { .gallery-grid { grid-template-columns: 1fr; } }
.tile { aspect-ratio: 1.618 / 1; border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(255,255,255,.06); background: var(--surface); }
.tile-bg { width: 100%; height: 100%; background-image: var(--img); background-size: cover; background-position: center; filter: saturate(1.05) contrast(1.05); transform: scale(1.02); transition: transform .6s var(--ease); }
.tile:hover .tile-bg { transform: scale(1.06); }

/* Logos */
.logo-row { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; }
.logo { display:flex; align-items:center; justify-content:center; height: 70px; border-radius: var(--radius); border:1px solid rgba(255,255,255,.06); background: linear-gradient(180deg, #141a22, #0f141b); color: var(--alumil-yellow); font-weight: 700; letter-spacing: 2px; }

/* Contact */
.contact .cta { display:flex; gap: 12px; margin-top: calc(var(--s0)); }
.company-info { margin-top: calc(var(--s0)); color: var(--alumil-grey); }
.company-info address { white-space: pre-line; }
.company-info strong { color: var(--white); }

/* Footer */
.site-footer { border-top: 1px solid rgba(255,255,255,.06); background: #0b1016; }
.site-footer .container { display:flex; align-items:center; justify-content:space-between; gap: 12px; padding-top: calc(var(--s0)); padding-bottom: calc(var(--s0)); }
.site-footer small { color: var(--alumil-grey); }
.footer-nav a { color: var(--white); text-decoration:none; margin-left: 12px; opacity:.8; }
.footer-nav a:hover { opacity:1; }
.gallery-cta { display:flex; justify-content:center; margin-top: calc(var(--s0)); }
/* External link cards */
.link-cards { display:flex; flex-wrap:wrap; gap: 12px; margin-top: calc(var(--s0)); }
.link-card { display:inline-flex; align-items:center; justify-content:center; padding: .8rem 1.2rem; border-radius: 999px; border:1px solid rgba(255,255,255,.14); color: var(--white); text-decoration:none; background: var(--surface); box-shadow: 0 1px 0 rgba(255,255,255,.04) inset; }
.link-card:hover { border-color: rgba(255,255,255,.24); transform: translateY(-1px); }
/* Reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.active { opacity: 1; transform: translateY(0); }