/* Base Styles */
body {
  font-family: "Poppins", sans-serif;
  margin: 0;
  color: #272142;
  line-height: 1.6;
}

/* HERO */
.hero {
  height: 100vh;
  background-image: url("../images/milan.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.hero-overlay {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-family: "Playfair Display";
  font-size: 72px;
  margin: 0;
}

.btn {
  display: inline-block;
  margin-top: 20px;
  background: #6c63ff;
  padding: 14px 28px;
  color: white;
  text-decoration: none;
  border-radius: 6px;
}

/* SECTIONS */
.section {
  padding: 80px 20px;
}

.light {
  background: #f9f7fe;
}

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

.section-title {
  font-family: "Playfair Display";
  font-size: 36px;
  margin-bottom: 40px;
}

/* WHY MILAN - 2 Column */
.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.two-column img {
  width: 100%;
  border-radius: 10px;
}

/* CARD GRID */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.card {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}

.card h3 {
  margin-top: 15px;
}

.address {
  font-weight: 500;
}

.highlight {
  color: #555;
}

/* CARD IMAGES & MAPS */
.card-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  width: 100%;
}

.card-images img,
.card-images iframe {
  width: 100%;
  height: 200px; /* unified height for images and maps */
  object-fit: cover;
  border-radius: 8px;
  transition: filter 0.3s ease;
}

.card-images img:hover {
  filter: grayscale(50%);
}
.card {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px); /* subtle lift */
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}
.card-images img,
.card-images iframe {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  transition:
    transform 0.3s ease,
    filter 0.3s ease;
}

.card-images img:hover {
  filter: grayscale(50%);
  transform: scale(1.05); /* subtle zoom */
}

.card-images iframe:hover {
  transform: scale(1.02); /* slight zoom on map too */
}
/* MINI GALLERY */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
}

.gallery-text {
  margin-top: 20px;
  font-size: 16px;
  color: #555;
  line-height: 1.6;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}
.gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.gallery-grid img:hover {
  transform: scale(1.05);
}
/* FOOTER */
/* Footer Styles */
.site-footer {
  background: #272142;
  color: #fff;
  padding: 60px 20px 40px;
  font-size: 16px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto; /* center the grid */
}

.footer-section {
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* top-align everything */
}

.footer-section h3 {
  font-family: "Playfair Display", serif;
  font-size: 20px;
  margin: 0 0 15px 0; /* remove extra default margins */
  color: #c8a2ff; /* lilac */
}

.footer-section p,
.footer-section ul {
  color: #fff;
  margin: 0 0 10px 0; /* consistent spacing */
  line-height: 1.6;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a {
  color: #c8a2ff; /* lilac links */
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: #b18fff; /* slightly darker lilac on hover */
}

/* GitHub Link */
.footer-section .github-link {
  display: block;
  margin-top: 12px;
  color: #c8a2ff;
  text-decoration: none;
  font-weight: 500;
}

.footer-section .github-link:hover {
  color: #b18fff;
}

.footer-bottom {
  text-align: center;
  margin-top: 50px;
  font-size: 14px;
  color: #aaa;
  border-top: 1px solid #444;
  padding-top: 15px;
}

/* Responsive Footer */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}
/* Responsive Footer */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}
/* Responsive Footer */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* MINI GALLERY & SECTION ALIGNMENT */
#what-to-do {
  padding-top: 30px;
  padding-bottom: 30px;
}

/* HTML TABLE */
/* Table Container: make it card-like */
.table-responsive {
  overflow-x: auto;
  margin-top: 20px;
  background: #fff;
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}

/* Align table intro text with table */
.table-intro-wrapper {
  max-width: 1100px;
  margin: 0 auto 20px auto; /* center and add spacing below */
}

.table-intro {
  font-size: 16px;
  line-height: 1.6;
  color: #555;
  margin: 0;
}

/* Table Styling */
.table-public-transport {
  width: 100%;
  border-collapse: collapse;
  border-radius: 8px;
  overflow: hidden;
}

.table-public-transport th,
.table-public-transport td {
  border: 1px solid #ddd;
  padding: 12px 15px;
  text-align: left;
}

.table-public-transport th {
  background-color: #6c63ff;
  color: white;
}

.table-public-transport tr:nth-child(even) {
  background-color: #f9f7fe;
}

/* Hover effect for rows */
.table-public-transport tbody tr:hover {
  background-color: #e2e0f9;
  transition: background-color 0.3s ease;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .table-public-transport th,
  .table-public-transport td {
    padding: 10px;
    font-size: 14px;
  }
  .table-intro {
    font-size: 15px;
  }
}

/* Table Styling */
.table-public-transport {
  width: 100%;
  border-collapse: collapse;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.table-public-transport th,
.table-public-transport td {
  border: 1px solid #ddd;
  padding: 12px 15px;
  text-align: left;
}

.table-public-transport th {
  background-color: #6c63ff;
  color: white;
}

.table-public-transport tr:nth-child(even) {
  background-color: #f9f7fe;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .table-public-transport th,
  .table-public-transport td {
    padding: 10px;
    font-size: 14px;
  }
  .table-intro {
    font-size: 15px;
  }
}
/* RESPONSIVE */
@media (max-width: 900px) {
  .two-column {
    grid-template-columns: 1fr;
  }
  .card-images {
    grid-template-columns: 1fr;
  }
  .card-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 48px;
  }
  .footer-grid {
    flex-direction: column;
    gap: 30px;
  }
}
/* Base section padding */
.section {
  padding: 40px 20px; /* reduced from 80px */
}
