@font-face {
  font-family: "Maduratna-Medium";
  src: url("fonts/Maduratna-Medium.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

:root {
  --background: #100b17;
  --card-bg: rgba(16, 11, 23, 0.4);
  --card-hover-bg: rgba(40, 46, 61, 0.5);
  --text-primary: #97d2c3;
  --text-secondary: rgba(110, 167, 169, 0.9);
  --border-color: rgba(151, 210, 195, 0.2);
}

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

body {
  font-family: "Helvetica", sans-serif;
  background: linear-gradient(180deg, #100b17 0%, #282e3d 40%, #3c5364 80%);
  color: var(--text-primary);
  min-height: 100vh;
}

.hidden {
  display: none !important;
}

/* Loading Screen */
.loading-screen {
  font-family: "Helvetica";
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--background);
  z-index: 1000;
  transition: opacity 0.5s;
}

.loader-logo {
  width: 200px;
  height: auto;
  opacity: 0;
  animation: logoFadeInOut 2s ease-in-out infinite;
}

@keyframes logoFadeInOut {
  0% {
    opacity: 0.2;
    transform: scale(0.95);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 0.2;
    transform: scale(0.95);
  }
}

/* Main Content */
.main-content {
  opacity: 0;
  transition: opacity 0.5s;
}

.main-content.visible {
  opacity: 1;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.header {
  text-align: center;
  margin-bottom: 1rem;
}

.head-logo {
  max-width: 100px;
  border-radius: 100%;
  height: 100px;
  object-fit: cover;
}

.head-text {
  display: flex;
  justify-content: center;
}

.title {
  font-family: "Helvetica";
  font-size: 3rem;
  font-weight: bold;
  background: linear-gradient(to right, #e5e5e5, #fafafa);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
  .title {
    font-size: 3.5rem;
  }
}

/* Business Cards Grid */
.business-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  max-width: 32rem;
  margin: 0 auto;
}

.business-card {
  opacity: 0;
  transform: translateY(50px);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.business-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.card-inner {
  position: relative;
  padding: 1rem;
  border-radius: 0.5rem;
  background-color: var(--card-bg);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-color);
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s ease;
}

.card-inner:hover {
  background-color: var(--card-hover-bg);
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(110, 167, 169, 0.2);
}

.logo-container {
  width: 100%;
  height: 6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.logo {
  max-width: 160px;
  max-height: 1000px;
  object-fit: contain;
  filter: brightness(0) invert(1) opacity(0.9);
  transition: transform 0.3s ease;
}

.card-inner:hover .logo {
  transform: scale(1.05);
}

.card-content {
  text-align: center;
}

.card-title {
  font-size: 1.125rem;
  font-weight: bold;
  margin-bottom: 0.25rem;
  color: var(--text-primary);
}

.card-description {
  font-size: 0.85rem;
  color: #fff;
}

/* Footer */
.footer {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.875rem;
  color: rgba(151, 210, 195, 0.8);
  opacity: 0;
  transition: opacity 0.5s;
}

.footer.visible {
  opacity: 1;
}

/* Contact Buttons */
.contact-buttons {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 100;
}

.contact-button {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #fff;
  font-size: 1.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.contact-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.contact-button.whatsapp {
  background-color: #25d366;
}

.contact-button.phone {
  background-color: #0088cc;
}

@media (max-width: 768px) {
  .contact-buttons {
    bottom: 1.5rem;
    right: 1.5rem;
  }

  .contact-button {
    width: 3rem;
    height: 3rem;
    font-size: 1.25rem;
  }
}
