@tailwind base;
@tailwind components;
@tailwind utilities;

@import url('https://fonts.googleapis.com/css2?family=Delius:wght@400;500;600;700&family=Yellowtail:wght@400;500;600;700&display=swap');

html, body {
  width: 100%;
}

body {
  margin: 0;
  padding: 0;
  background: #000;
  overflow-x: hidden;
  font-family: Delius, sans-serif;
  width: 100%;
}

.heading {
  font-family: Delius;
  font-weight: 600;
  font-size: 24px;
  line-height: 100%;
  letter-spacing: -0.02em;
}

.subheading {
  font-family: Delius;
  font-weight: 500;
  font-size: 12px;
  line-height: 100%;
  letter-spacing: 0%;
  opacity: 0.5;
}

.title {
  font-family: Delius;
  font-weight: 700;
  font-size: 24px;
  line-height: 100%;
  letter-spacing: -0.03em;
}

.buttonText {
  font-family: Delius;
  font-weight: 400;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: 0%;
}

.grid-item .info {
  display: flex;
  align-items: center;
  padding: 1rem;
  gap: 1rem;
}

.grid-item img.avatar {
  border-radius: 9999px;
  width: 40px;
  height: 40px;
}

.hover-video {
  width: 100%;
  display: block;
  border-radius: 15px 15px 0 0;
}

.hover-video {
  width: 100%;
  display: block;
  border-radius: 15px 15px 0 0;
}

/* Check icon animation */
.check-icon {
  transform-origin: center;
  animation: check-appear 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.check-path {
  stroke-dasharray: 30;
  stroke-dashoffset: 30;
  animation: check-draw 0.4s ease forwards 0.2s;
}

@keyframes check-appear {
  0% {
    transform: scale(0) rotate(-180deg);
    opacity: 0;
  }
  50% {
    transform: scale(1.5) rotate(0deg);
  }
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
}

@keyframes check-draw {
  to {
    stroke-dashoffset: 0;
  }
}


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

body {
    font-family: Arial, sans-serif;
    background-color: #000000;
}

.header {
    background-color: black;
    position: relative;
    top: 0;
    z-index: 100;
}


.header-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-title {
    color: #ffffff;
    font-weight: 500;
    font-size: 20px;
    font-family: Yellowtail, sans-serif;
    padding-left: 10px;
}

.logo-icon {
    margin-left: 1rem;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.nav a:hover {
    color: #3b82f6;
}

.social-icon {
    width: 24px;
    height: 24px;
    fill: #ffffff;
    transition: fill 0.3s ease;
}

.social-icon:hover {
    fill: #3b82f6;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger {
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    margin: 5px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: black;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}

.mobile-nav a {
    display: block;
    padding: 15px 0;
    text-decoration: none;
    color: #ffffff;  /* Change from #374151 to white */
    font-weight: 600;
    font-size: 18px;
    transition: color 0.3s ease;
}

.mobile-social .social-icon {
    fill: #ffffff;  /* Ensure social icon is white in mobile */
}
.mobile-menu.active {
    display: block;
}

.mobile-nav a {
    display: block;
    padding: 15px 0;
    text-decoration: none;
    color: #FFFFFF;
    font-weight: 600;
    font-size: 18px;
    transition: color 0.3s ease;
}

.mobile-nav a:hover {
    color: #3b82f6;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .nav {
display: none;
    }

    .mobile-menu-btn {
display: block;
    }

    .header-container {
padding: 0 15px;
height: 60px;
    }
}

/* Hamburger animation */
.mobile-menu-btn.active .hamburger:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-btn.active .hamburger:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .hamburger:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Main content for demo */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.main-content h1 {
    color: #1f2937;
    margin-bottom: 20px;
    font-size: 2.5rem;
}

.main-content p {
    color: #6b7280;
    line-height: 1.6;
    font-size: 1.1rem;
}
