/* G & G Giardini — Corporate Website */

:root {
  --green-deep: #1a3d2e;
  --green-mid: #2d6a4f;
  --green-light: #52b788;
  --green-pale: #d8f3dc;
  --cream: #faf8f3;
  --cream-dark: #f0ebe0;
  --earth: #6b5b4e;
  --gold: #c9a227;
  --gold-light: #e8d48b;
  --text: #2c2c2c;
  --text-muted: #5a5a5a;
  --white: #ffffff;
  --shadow: 0 4px 24px rgba(26, 61, 46, 0.12);
  --shadow-lg: 0 12px 48px rgba(26, 61, 46, 0.18);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Outfit', system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

/* ── Navigation ── */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition);
}

.nav.scrolled {
  background: rgba(250, 248, 243, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(26, 61, 46, 0.08);
  padding: 0.85rem 2rem;
}

.nav__logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.02em;
  transition: color var(--transition);
}

.nav.scrolled .nav__logo {
  color: var(--green-deep);
}

.nav__logo span {
  color: var(--green-light);
}

.nav.scrolled .nav__logo span {
  color: var(--green-mid);
}

.nav__links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav__links a {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  transition: color var(--transition);
  position: relative;
}

.nav.scrolled .nav__links a {
  color: var(--text);
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--green-light);
  transition: width var(--transition);
}

.nav__links a:hover::after {
  width: 100%;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}

.nav.scrolled .nav__toggle span {
  background: var(--green-deep);
}

/* ── Hero ── */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to bottom,
      rgba(26, 61, 46, 0.5) 0%,
      rgba(26, 61, 46, 0.25) 45%,
      rgba(26, 61, 46, 0.7) 100%
    ),
    linear-gradient(
      to right,
      rgba(26, 61, 46, 0.45) 0%,
      rgba(26, 61, 46, 0.12) 50%,
      rgba(26, 61, 46, 0.08) 100%
    );
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  padding: 2rem;
  animation: fadeUp 1.2s ease-out;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero__eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green-light);
  margin-bottom: 1.5rem;
  padding: 0.4rem 1.2rem;
  border: 1px solid rgba(82, 183, 136, 0.4);
  border-radius: 100px;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero__title em {
  font-style: italic;
  color: var(--green-pale);
}

.hero__subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: rgba(255, 255, 255, 0.92);
  max-width: 580px;
  margin: 0 auto 2.5rem;
  font-weight: 300;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.25);
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2.2rem;
  background: var(--green-light);
  color: var(--green-deep);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 100px;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(82, 183, 136, 0.35);
}

.hero__cta:hover {
  background: var(--green-pale);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(82, 183, 136, 0.45);
}

.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: bounce 2s ease-in-out infinite;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ── Sections ── */

.section {
  padding: 6rem 2rem;
}

.section--cream {
  background: var(--cream);
}

.section--white {
  background: var(--white);
}

.section--green {
  background: var(--green-deep);
  color: var(--white);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.section__header {
  text-align: center;
  margin-bottom: 4rem;
}

.section__eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green-mid);
  margin-bottom: 0.75rem;
}

.section--green .section__eyebrow {
  color: var(--green-light);
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--green-deep);
  line-height: 1.2;
}

.section--green .section__title {
  color: var(--white);
}

.section__divider {
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin: 1.25rem auto 0;
}

/* ── About ── */

.about__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem;
  align-items: start;
}

.about__visual {
  margin: 0;
}

.about__image-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.about__image-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(26, 61, 46, 0.08);
  pointer-events: none;
}

.about__image {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s ease;
}

.about__image-wrap:hover .about__image {
  transform: scale(1.03);
}

.about__caption {
  margin-top: 1rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--green-mid);
  text-align: center;
}

.about__content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.about__text p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
}

.about__text p:first-of-type {
  font-size: 1.2rem;
  color: var(--text);
  font-weight: 400;
}

.about__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.stat {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
}

.stat:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.stat__number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--green-mid);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat__label {
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* ── Showcase ── */

.showcase {
  margin: 0 0 3.5rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.showcase__img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s ease;
}

.showcase:hover .showcase__img {
  transform: scale(1.015);
}

/* ── Services ── */

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green-mid), var(--green-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card__icon {
  width: 56px;
  height: 56px;
  background: var(--green-pale);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--green-mid);
}

.service-card__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--green-deep);
  margin-bottom: 0.75rem;
}

.service-card__text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── Values ── */

.values__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.value-item {
  text-align: center;
  padding: 1.5rem;
}

.value-item__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  border: 2px solid rgba(82, 183, 136, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-light);
}

.value-item__title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.value-item__text {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

/* ── Locations ── */

.locations__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.location-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--green-mid);
  transition: var(--transition);
}

.location-card:hover {
  box-shadow: var(--shadow-lg);
}

.location-card__badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-mid);
  background: var(--green-pale);
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}

.location-card__title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--green-deep);
  margin-bottom: 0.75rem;
}

.location-card__address {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
}

/* ── Contact ── */

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact__info p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

.contact__details {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact__details li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact__details-icon {
  width: 44px;
  height: 44px;
  background: var(--green-pale);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-mid);
  flex-shrink: 0;
}

.contact__details-text strong {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-mid);
  margin-bottom: 0.2rem;
}

.contact__details-text span,
.contact__details-text a {
  color: var(--text);
  font-size: 1rem;
}

.contact__details-text a:hover {
  color: var(--green-mid);
}

.contact__card {
  background: var(--green-deep);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 3rem;
  position: relative;
  overflow: hidden;
}

.contact__card::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(82, 183, 136, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.contact__card-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin-bottom: 1rem;
  position: relative;
}

.contact__card-text {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1rem;
  line-height: 1.7;
  position: relative;
  margin-bottom: 2rem;
}

.contact__card-legal {
  position: relative;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.8;
}

/* ── Footer ── */

.footer {
  background: #0f2319;
  color: rgba(255, 255, 255, 0.6);
  padding: 3rem 2rem 2rem;
}

.footer__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
}

.footer__logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--white);
}

.footer__logo span {
  color: var(--green-light);
}

.footer__legal {
  font-size: 0.8rem;
  line-height: 1.8;
  max-width: 700px;
}

.footer__copy {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.35);
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  width: 100%;
}

/* ── Reveal animations ── */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ── */

@media (max-width: 1024px) {
  .services__grid {
    grid-template-columns: 1fr 1fr;
  }

  .values__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav__links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--cream);
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    gap: 1.5rem;
    box-shadow: var(--shadow-lg);
    transition: right var(--transition);
  }

  .nav__links.open {
    right: 0;
  }

  .nav__links a {
    color: var(--text) !important;
    font-size: 1rem;
  }

  .nav__toggle {
    display: flex;
    z-index: 1001;
  }

  .nav__toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav__toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav__toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .about__grid,
  .contact__grid,
  .locations__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about__image {
    aspect-ratio: 16 / 10;
  }

  .services__grid {
    grid-template-columns: 1fr;
  }

  .values__grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .section {
    padding: 4rem 1.5rem;
  }

  .about__stats {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .values__grid {
    grid-template-columns: 1fr;
  }

  .about__stats {
    grid-template-columns: 1fr;
  }

  .nav {
    padding: 1rem 1.25rem;
  }
}
