/* =============================== */
/* styles.css */
/* =============================== */
:root {
  --color-light: #F6D5AD;
  --color-pink: #FF47B5;
  --color-blue: #23066E;
  --color-dark: #220B44;
}

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

body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--color-dark);
  background: white;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  text-decoration: none;
  color: var(--color-dark);
  transition: color 0.2s ease;
}

a:hover {
  color: var(--color-pink);
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

.fi {
  vertical-align: middle;
  font-size: 1.2em;
}

/* NAVBAR */
.navbar {
  position: relative;
  z-index: 10;
  background: white;
  border-bottom: 1px solid #eee;
}
.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}
.logo {
  display: flex;
  align-items: center;
}
.logo-img {
  height: 25px;
  width: auto;
}
nav a {
  margin-left: 25px;
  text-decoration: none;
  color: var(--color-dark);
  font-weight: 500;
}
nav a:hover {
  color: var(--color-pink);
}
.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
}

/* HERO */
.hero {
  position: relative;
  overflow: hidden;
  padding: 100px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 1;
}
.trianglify-bg{
  width:120%;
  height:120%;
  object-fit:cover;
  animation: heroMove 20s linear infinite;
}
@keyframes heroMove{
  0%{
    transform: translate(0,0) scale(1);
  }
  50%{
    transform: translate(-3%, -3%) scale(1.05);
  }
  100%{
    transform: translate(0,0) scale(1);
  }
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero-text h1 {
  font-family: "Gloock", serif;
  font-size: 56px;
  line-height: 1;
  margin-bottom: 20px;
  color: var(--color-blue);
}
.hero-text p {
  font-size: 20px;
  margin-bottom: 30px;
}
.button {
  display: inline-block;
  border: 1px solid white;
  background-color: rgba(0, 0, 0, 0.3);
  color: white;
  padding: 12px 32px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  margin-bottom: 20px;
}
.button:hover {
  background: var(--color-blue);
}


/* FEATURES */
.features {
  padding: 80px 0;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.card {
  display: flex;
  background: white;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  transition: transform 0.2s;
}
.card:hover {
  transform: translateY(-5px);
}
.card h3 {
  font-family: "Gloock", serif;
  margin-bottom: 10px;
  color: var(--color-blue);
}
.card-img {
  width: 100px;
  height: 100px;
  border-radius: 10px;
 }
.card-content {
  padding-left: 10px;
}

/* FOOTER */

.footer{
  margin-top:auto;
  height:100px;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  background:var(--color-dark);
  color:white;
  position:relative;
  overflow:hidden;
}

.footer .container{
  position:relative;
  z-index:2;
}

.footer a{
  color:var(--color-light);
  text-decoration:none;
}

.footer a:hover{
  color:var(--color-pink);
}

.footer-graphic{
  position:absolute;
  inset:0;
  z-index:1;
}

.footer-graphic img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}


/* RESPONSIVE */
@media (max-width: 900px) {
  .grid-4 {
    grid-template-columns: 1fr 1fr;
  }
  .hero-text h1 {
    font-size: 40px;
  }
  .hero-text p {
    font-size: 18px;
  }
}
@media (max-width: 600px) {
  #main-nav {
    position: absolute;
    z-index: 11;
    top: 75px;
    right: 5px;
    background: white;
    width: 180px;
    display: none;
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border-radius:16px;
  }
  #main-nav.open {
    display: flex;
  }
  #main-nav a {
    margin: 10px 0;
  }
  .menu-toggle {
    display: block;
  }
  .grid-4 {
    grid-template-columns: 1fr;
  }
}