/* Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  background-color: #f5f7fa;
  color: #222;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Container */
.container {
  width: 90%;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

/* Header */
.header {
  background-color: #fff;
  box-shadow: 0 2px 8px rgb(0 0 0 / 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

/* Logo */
.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #222;
  font-weight: 700;
  font-size: 1.25rem;
  user-select: none;
}

.logo {
  height: 48px;
  width: auto;
  margin-right: 0.75rem;
  filter: drop-shadow(0 0 1px rgba(0, 0, 0, 0.1));
  transition: filter 0.3s ease;
}

.logo-link:hover .logo,
.logo-link:focus .logo {
  filter: drop-shadow(0 0 3px #1e3a8a);
  outline: none;
}

.studio-name {
  white-space: nowrap;
}

/* Navigation */
.nav {
  display: flex;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.nav-link {
  text-decoration: none;
  color: #555;
  font-weight: 500;
  font-size: 1rem;
  position: relative;
  transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link:focus {
  color: #1e3a8a;
  outline: none;
}

.nav-link[aria-current="page"] {
  color: #1e3a8a;
  font-weight: 700;
}

/* Hamburger menu button */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  position: relative;
  z-index: 1100;
}

.hamburger,
.hamburger::before,
.hamburger::after {
  content: "";
  display: block;
  width: 24px;
  height: 3px;
  background-color: #1e3a8a;
  border-radius: 2px;
  transition: all 0.3s ease;
  position: relative;
}

.hamburger::before,
.hamburger::after {
  position: absolute;
}

.hamburger::before {
  top: -8px;
}

.hamburger::after {
  top: 8px;
}

/* Main content */
.main-content {
  flex-grow: 1;
  padding: 4rem 0;
  text-align: center;
}

.hero-title {
  font-size: 2.75rem;
  font-weight: 700;
  color: #1e3a8a;
  margin-bottom: 1rem;
  opacity: 0;
  animation: fadeInUp 1s forwards;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #555;
  max-width: 600px;
  margin: 0 auto 2rem;
  opacity: 0;
  animation: fadeInUp 1s 0.3s forwards;
}

.btn-primary {
  display: inline-block;
  background-color: #1e3a8a;
  color: #fff;
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: 30px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgb(0 119 204 / 0.4);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  animation: fadeInUp 1s 0.6s forwards;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: #1e3a8a;
  box-shadow: 0 6px 16px rgb(0 95 163 / 0.6);
  outline: none;
}

/* Footer placeholder */
#footer-placeholder {
  margin-top: auto;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 0;
    right: 0;
    background-color: #fff;
    height: 100vh;
    width: 250px;
    flex-direction: column;
    padding-top: 4rem;
    box-shadow: -2px 0 8px rgb(0 0 0 / 0.1);
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }

  .nav.open {
    transform: translateX(0);
  }

  .nav-list {
    flex-direction: column;
    gap: 1.5rem;
    padding-left: 2rem;
  }

  .nav-toggle {
    display: block;
  }
}
