/*
  File: /public/css/style.css
  Description: Global stylesheet for the "Boundless Fashion Archive" website.
  Project Principles: Minimalism, Serenity, Elegance.
*/

:root {
  --bg-color: #F9F7F5;
  --text-color: #2C2C2C;
  --border-color: #E0DCD7;
  --font-primary: 'Source Han Serif', 'Noto Serif SC', serif;
  --font-secondary: 'Helvetica Neue', 'Avenir', sans-serif;
  --transition-main: all 0.3s ease-in-out;
}

/* Global Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  overflow-x: hidden;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: var(--font-primary);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  opacity: 0;
  animation: fadeIn 0.5s ease-out forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-main);
}

a:hover {
  opacity: 0.6;
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Main Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 3rem;
  z-index: 1000;
  background-color: rgba(249, 247, 245, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  justify-content: center;
  align-items: center;
}

nav ul {
  display: flex;
  list-style: none;
}

nav li {
  margin: 0 2rem;
}

nav a {
  font-size: 1rem;
  letter-spacing: 0.1em;
}

/* Main Content Area */
main {
  width: 100%;
  padding-top: 80px; /* Adjust for fixed header */
  min-height: calc(100vh - 100px); /* Ensure footer is pushed down */
}

/* Footer */
footer {
  padding: 3rem 0;
  text-align: center;
}

footer p {
  font-family: var(--font-secondary);
  font-weight: 100;
  font-size: 0.9rem;
}

/* Utility Classes */
.page-title {
  padding: 100px 0 50px;
  text-align: center;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-weight: 300;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  header {
    padding: 1rem 1.5rem;
  }

  nav li {
    margin: 0 1rem;
  }

  nav a {
    font-size: 0.9rem;
  }
}