/* high-end-fashion-showcase-312145/frontend/public/css/style.css */

:root {
  --color-black: #000000;
  --color-white: #ffffff;
  --color-light-gray: #f5f5f5;
  --color-gray: #e0e0e0;
  --color-dark-gray: #333333;
  --color-beige: #f8f4f0;
  --color-taupe: #d9cfc6;
  --color-muted-rose: #e8d0cb;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --font-sans: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--color-white);
  color: var(--color-black);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

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

/* Layout */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--color-gray);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: 2px;
}

.nav-links {
  display: flex;
  gap: 2rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav-links a {
  position: relative;
  padding-bottom: 0.25rem;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-black);
  transition: var(--transition-fast);
}

.nav-links a:hover::after {
  width: 100%;
}

/* Hero Section */
.hero {
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.hero-content {
  text-align: center;
  padding: 0 2rem;
  max-width: 800px;
  color: var(--color-white);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 300;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.hero-subtitle {
  font-size: 1.1rem;
  font-weight: 300;
  opacity: 0.9;
}

/* Intro Section */
.intro {
  padding: 4rem 0;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.intro-text {
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1.8;
}

/* Cards Section */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 4rem 0 6rem;
}

.card {
  position: relative;
  height: 400px;
  overflow: hidden;
  cursor: pointer;
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

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

.card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2rem;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  color: var(--color-white);
  text-align: center;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 300;
}

/* Collection Page */
.page-header {
  padding: 6rem 0 3rem;
  text-align: center;
}

.page-title {
  font-size: 2rem;
  font-weight: 300;
  margin-bottom: 1rem;
}

.page-description {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.1rem;
  font-weight: 300;
  opacity: 0.8;
}

.filters {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  padding: 2rem 0;
  flex-wrap: wrap;
}

.filter-btn {
  background: none;
  border: none;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.5rem 1rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-btn.active,
.filter-btn:hover {
  color: var(--color-dark-gray);
  border-bottom: 1px solid var(--color-dark-gray);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  padding: 2rem 0 6rem;
}

.gallery-item {
  cursor: pointer;
}

.gallery-image {
  width: 100%;
  height: auto;
  display: block;
  transition: opacity var(--transition-fast);
}

.gallery-item:hover .gallery-image {
  opacity: 0.85;
}

.gallery-caption {
  margin-top: 1rem;
  font-size: 0.95rem;
  font-weight: 300;
  text-align: center;
}

/* Lightbox */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal);
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
}

.lightbox-image {
  max-width: 100%;
  max-height: 80vh;
  display: block;
}

.lightbox-caption {
  color: var(--color-white);
  text-align: center;
  margin-top: 1.5rem;
  font-size: 1.1rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: var(--color-white);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Inspiration Page */
.inspiration-header {
  padding: 6rem 0 3rem;
  text-align: center;
}

.story {
  margin-bottom: 6rem;
}

.story-cover {
  width: 100%;
  height: 500px;
  object-fit: cover;
  margin-bottom: 2rem;
}

.story-title {
  font-size: 1.75rem;
  font-weight: 300;
  margin-bottom: 1rem;
  text-align: center;
}

.story-intro {
  max-width: 800px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
  font-weight: 300;
  text-align: center;
  line-height: 1.8;
}

.story-images {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.story-tip {
  text-align: center;
  font-style: italic;
  opacity: 0.8;
  margin-top: 1rem;
}

/* Footer */
.footer {
  text-align: center;
  padding: 2rem 0;
  border-top: 1px solid var(--color-gray);
  font-size: 0.9rem;
  opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-links {
    gap: 1.25rem;
    font-size: 0.8rem;
  }
  
  .hero-title {
    font-size: 1.8rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .intro-text {
    font-size: 1.1rem;
  }
  
  .page-title,
  .story-title {
    font-size: 1.5rem;
  }
  
  .gallery {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
  
  .story-cover {
    height: 400px;
  }
  
  .cards {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .card {
    height: 350px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1.5rem;
  }
  
  .hero-title {
    font-size: 1.5rem;
  }
  
  .nav-container {
    padding: 0 1rem;
  }
  
  .gallery {
    grid-template-columns: 1fr;
  }
  
  .story-images {
    grid-template-columns: 1fr;
  }
  
  .card {
    height: 300px;
  }
}