/* #region Bulma overrides */
:root {
    --bulma-primary-h: 43deg;
    --bulma-primary-s: 74%;
    --bulma-primary-l: 49%;
    --bulma-navbar-height: 5rem; 
    --bulma-navbar-item-img-max-height: 3rem;
    --bulma-footer-color: true;
    --bulma-family-primary: Arial,sans-serif;
}

.footer {
    --bulma-footer-padding: 3rem 1.5rem 3rem;
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 0.85rem;
}

.footer-section-title {
    color: #daa520;
    font-weight: 700;
}

.footer p,
.footer address,
.footer li,
.footer a {
    font-weight: 400;
    color: #d9d9d9;
}

.footer a:hover,
.footer a:focus {
    color: #daa520;
}

.navbar-item img {
  max-height: calc(var(--bulma-navbar-height) - 1.5rem); 
}
/* #endregion */

img{
    height: 100%;
    width: 100%;
    object-fit: cover;
}


/* #region product card shadows */
.card.is-elevated {
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    transition: transform .15s ease, box-shadow .15s ease;
    will-change: transform, box-shadow;
}
.card.is-elevated:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 26px rgba(0,0,0,0.18);
}

/* #region product page hover reveal */
.product-grid .card {
    position: relative;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease;
}

.product-grid .card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(218, 165, 32, 0.24) 0%, rgba(218, 165, 32, 0.05) 50%, rgba(218, 165, 32, 0) 100%);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform .35s ease;
    pointer-events: none;
    z-index: 1;
}

.product-grid .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.product-grid .card:hover::before {
    transform: scaleY(1);
}

.product-grid .card .card-image,
.product-grid .card .card-content {
    position: relative;
    z-index: 2;
    background: transparent;
}
/* #endregion */

/* #region Carousel */
/* Basic Carousel. Consider adding Splide or Swiper. Flexslider is obsolete. */
.carousel {
    aspect-ratio: 32/9;
    display: flex;
    gap: 4vw;

    overflow-x: scroll;
    overflow-y: hidden;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
}

.carousel--posts {
    aspect-ratio: inherit;
    height: auto;        
    padding: 20px;
}

li.carousel-item {
    list-style-type: none;
    flex: 0 0 100%;
    scroll-snap-align: center;
}

.carousel-item > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* #endregion */

/* #region Projects Table */

.projects-table {
	width: 100%;
	margin: 20px 0;
	font-family: inherit;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.projects-table th {
	background: linear-gradient(135deg, #000001 0%, #1a1a1a 100%);
	color: #daa520;
	font-weight: 600;
	font-size: 16px;
	padding: 18px 15px;
	letter-spacing: 1px;
	text-align: left;
}

.projects-table td {
	padding: 16px 15px;
	color: #333;
	font-size: 14px;
	transition: all 0.3s ease;
	vertical-align: middle;
}

/* #region table animation */
.projects-table tbody tr {
	transition: all 0.3s ease;
}

.projects-table tbody tr:hover {
	background: linear-gradient(90deg, #fff8e7, #fff);
	transform: scale(1.01);
	box-shadow: 0 5px 15px rgba(218, 165, 32, 0.2);
}

.projects-table tbody tr:hover td {
	color: #000;
}

.projects-table tbody tr:hover td:first-child {
	font-weight: 600;
	color: #daa520;
}

.projects-table td:nth-child(2) {
	font-weight: bold;
	color: #daa520;
	text-align: center;
}
/* #endregion */

/* #endregion */

/* #region Map Embeds */
.embed-map-responsive {
	position: relative;
	padding-bottom: 56.25%;
	overflow: hidden;
}

.embed-map-container {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.embed-map-frame {
	width: 100%;
	height: 100%;
	border: none;
}
/* #endregion */


/* #region Team Cards */
.team-card {
  display: block;
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border-radius: 12px;
}

.team-card:hover {
  transform: translateY(-8px) scale(1.03);
  cursor: pointer;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

/* nama */
.team-card h4 {
  display: inline-block;
  position: relative;
  margin-top: 1rem;
  margin-bottom: 0.25rem;
}

/* underline (hidden default) */
.team-card h4::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: currentColor;

  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.team-card:hover h4::after {
  transform: translateX(-50%) scaleX(1);
}

/* jawatan */
.team-card .subtitle {
  margin-top: 0;
}
/* #endregion */

.project-card .tag {
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  color: inherit;
  border-radius: 8px;
}

.project-logo {
  width: 48px;
  height: 48px;
  overflow: hidden;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.project-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.project-card .media {
  align-items: center;
}

.project-card .media-content {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  min-height: 48px;
}