/* Palette Page - Dark Artistic Theme */

body {
  background: #000000;
  color: #ffffff;
  min-height: 100vh;
}

/* Override layout styles for dark theme */
header {
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
}

.nav-links a {
  color: #ffffff;
}

.nav-links a:hover,
.nav-links a.active {
  background: linear-gradient(45deg, #ff6b6b, #feca57);
  color: #000;
}

/* Gallery Hero Section */
.gallery-hero {
  text-align: center;
  padding: 4rem 2rem;
  background: radial-gradient(
    circle at center,
    rgba(255, 107, 107, 0.1) 0%,
    transparent 70%
  );
  margin-bottom: 3rem;
}

.hero-content h1 {
  font-size: 4rem;
  background: linear-gradient(
    45deg,
    #ff6b6b,
    #feca57,
    #48dbfb,
    #ff9ff3,
    #54a0ff
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  font-weight: 700;
}

.color-spectrum {
  margin: 2rem auto;
  width: 80%;
  max-width: 600px;
}

.color-bar {
  height: 8px;
  border-radius: 4px;
  animation: colorPulse 3s ease-in-out infinite;
}

@keyframes colorPulse {
  0%,
  100% {
    opacity: 0.7;
  }
  50% {
    opacity: 1;
  }
}

/* Creative Tools */
.creative-tools {
  margin: 4rem 0;
  text-align: center;
}

.creative-tools h2 {
  color: #48dbfb;
  font-size: 2rem;
  margin-bottom: 2rem;
}

.tool-card {
  background: linear-gradient(
    135deg,
    rgba(72, 219, 251, 0.1) 0%,
    rgba(255, 159, 243, 0.1) 100%
  );
  padding: 2rem;
  border-radius: 20px;
  border: 1px solid rgba(72, 219, 251, 0.3);
  max-width: 400px;
  margin: 0 auto;
  transition: all 0.3s ease;
}

.tool-card:hover {
  transform: scale(1.05);
  border-color: rgba(72, 219, 251, 0.6);
}

.tool-icon i {
  font-size: 3rem;
  color: #ff9ff3;
  margin-bottom: 1rem;
}

.tool-card h3 {
  color: #ffffff;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.tool-card p {
  color: #cccccc;
  margin-bottom: 2rem;
  line-height: 1.5;
}

.tool-btn {
  background: linear-gradient(45deg, #ff6b6b, #ff9ff3);
  color: white;
  padding: 0.8rem 2rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
}

.tool-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255, 107, 107, 0.3);
}

/* Mosaic Gallery Layout */
.gallery-mosaic {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(3, 120px);
  gap: 0.8rem;
  max-width: 850px;
  margin: 0 auto;
}

.artwork-frame {
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 10px 30px rgba(234, 229, 229, 0.2);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.02)
  );
}

.artwork-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.artwork-frame:hover {
  transform: scale(1.04);
  border-style: solid;
  border-color: rgba(239, 235, 235, 0.9);
  box-shadow: 0 10px 30px rgba(234, 229, 229, 0.2);
}

/* Different frame sizes for variety */
.large-frame {
  grid-column: span 2;
  grid-row: span 2;
}

.medium-frame {
  grid-column: span 2;
  grid-row: span 1;
}

.small-frame {
  grid-column: span 1;
  grid-row: span 1;
}

/* Specific positioning for organic layout */
#artwork-1 {
  grid-column: 1/3;
  grid-row: 1/3;
}
#artwork-2 {
  grid-column: 3/5;
  grid-row: 1/2;
}
#artwork-3 {
  grid-column: 3/4;
  grid-row: 2/3;
}
#artwork-4 {
  grid-column: 4/5;
  grid-row: 2/3;
}
#artwork-5 {
  grid-column: 1/3;
  grid-row: 3/4;
}
#artwork-6 {
  grid-column: 3/4;
  grid-row: 3/4;
}
#artwork-7 {
  grid-column: 4/5;
  grid-row: 3/4;
}
#artwork-8 {
  grid-column: 5/6;
  grid-row: 1/4;
}

.artwork-label {
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.artwork-note {
  font-size: 0.9rem;
  color: #999;
  font-style: italic;
}

/* Art Gallery */
.art-gallery {
  margin: 5rem 0;
}

.art-gallery h2 {
  color: #feca57;
  font-size: 3rem;
  text-align: center;
  margin-bottom: 1rem;
}

.gallery-subtitle {
  text-align: center;
  color: #cccccc;
  font-size: 1.2rem;
  margin-bottom: 4rem;
}

.art-gallery h2 {
  background: linear-gradient(135deg, #ff6b6b, #feca57, #48dbfb, #ff9ff3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  font-size: 3rem;
  text-align: center;
  margin-bottom: 1rem;
}

/* Inspiration Quote */
.inspiration-quote {
  margin: 5rem 0;
  text-align: center;
  padding: 4rem 2rem;
  background: radial-gradient(
    circle at center,
    rgba(255, 159, 243, 0.1) 0%,
    transparent 70%
  );
  position: relative;
  overflow: hidden;
}

.quote-container h2 {
  font-size: 2.5rem;
  color: #ffffff;
  margin-bottom: 1rem;
  font-style: italic;
  font-weight: 300;
}

.quote-container p {
  font-size: 1.2rem;
  color: #ff9ff3;
  font-weight: 500;
}

.floating-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

.shape {
  position: absolute;
  animation: float 6s ease-in-out infinite;
}

.circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(45deg, #ff6b6b, #feca57);
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.triangle {
  width: 0;
  height: 0;
  border-left: 30px solid transparent;
  border-right: 30px solid transparent;
  border-bottom: 50px solid #48dbfb;
  top: 60%;
  right: 15%;
  animation-delay: 2s;
}

.square {
  width: 50px;
  height: 50px;
  background: linear-gradient(45deg, #ff9ff3, #54a0ff);
  transform: rotate(45deg);
  top: 30%;
  right: 25%;
  animation-delay: 4s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}

/* Footer Override */
footer {
  background: rgba(0, 0, 0, 0.8);
  border-top: 1px solid rgba(255, 107, 107, 0.3);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-content h1 {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }

  .quote-container h2 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .gallery-hero {
    padding: 3rem 1rem;
  }
}
