/* Rainy Day Relics - Website Stylesheet */

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

body {
  font-family: 'Georgia', serif;
  background: linear-gradient(135deg, #1a2332 0%, #2a3441 100%);
  color: #f4e8c8;
  line-height: 1.6;
}

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

/* Typography */
.header {
  text-align: center;
  margin-bottom: 2rem;
}

.header img {
  display: block;
  margin: 0 auto 1.5rem auto;
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
  transition: transform 0.3s ease;
}

.header img:hover {
  transform: scale(1.05);
}

.header h1 {
  font-size: 2.5rem;
  color: #f4e8c8;
  margin-bottom: 0.5rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.header p {
  font-size: 1.1rem;
  color: #8fa5b8;
  font-style: italic;
}

/* Navigation */
.nav-container {
  margin-bottom: 3rem;
}

.navbar {
  background: rgba(42, 52, 65, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.nav-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

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

.nav-item {
  position: relative;
}

.nav-link {
  display: block;
  padding: 1rem 1.5rem;
  color: #f4e8c8;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}

.nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(244, 232, 200, 0.1), transparent);
  transition: left 0.5s ease;
}

.nav-link:hover::before {
  left: 100%;
}

.nav-link:hover {
  color: #f4e8c8;
  background: rgba(74, 107, 124, 0.2);
}

.nav-link.active {
  background: #4a6b7c;
  color: #f4e8c8;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 1rem;
  gap: 4px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #f4e8c8;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Navigation */
@media (max-width: 768px) {
  .header {
    margin-bottom: 1rem;
    margin-top: 80px; /* Account for fixed navbar */
  }

  .nav-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    margin-bottom: 0;
  }

  .navbar {
    position: relative;
    border-radius: 0;
    background: rgba(26, 35, 50, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 16px rgba(0,0,0,0.3);
  }

  .nav-content {
    justify-content: space-between;
    padding: 0 1rem;
  }

  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(26, 35, 50, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: none;
    border-radius: 0;
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  }

  .nav-menu.active {
    max-height: 400px;
  }

  .nav-link {
    padding: 1rem 2rem;
    border-radius: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-link:last-child {
    border-bottom: none;
  }

  .nav-link:hover {
    transform: none;
    background: rgba(74, 107, 124, 0.3);
  }

  .header img {
    width: 300px;
  }
}

@media (max-width: 480px) {
  .header img {
    width: 250px;
  }

  .header h1 {
    font-size: 2rem;
  }

  .nav-content {
    padding: 0 0.5rem;
  }

  .nav-link {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
  }
}

/* Responsive logo sizing */
@media (max-width: 768px) {
  .header img {
    width: 300px;
  }
}

@media (max-width: 480px) {
  .header img {
    width: 250px;
  }

  .header h1 {
    font-size: 2rem;
  }
}

/* Color Grid */
.color-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.color-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease;
}

.color-card:hover {
  transform: translateY(-5px);
}

.color-swatch {
  width: 100%;
  height: 100px;
  border-radius: 8px;
  margin-bottom: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.color-info h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #f4e8c8;
}

.color-info p {
  font-size: 0.9rem;
  color: #8fa5b8;
  margin-bottom: 0.25rem;
}

/* Usage Section */
.usage-section {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.usage-section h2 {
  color: #f4e8c8;
  margin-bottom: 1rem;
  font-size: 1.8rem;
}

.usage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.usage-item {
  background: rgba(26, 35, 50, 0.3);
  padding: 1.5rem;
  border-radius: 8px;
  border-left: 4px solid #4a6b7c;
}

.usage-item h3 {
  color: #f4e8c8;
  margin-bottom: 0.5rem;
}

.usage-item p {
  color: #8fa5b8;
  font-size: 0.95rem;
}

/* Demo Section */
.demo-section {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.demo-section h2 {
  color: #f4e8c8;
  margin-bottom: 1.5rem;
}

.demo-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Button Styles */
.btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-primary {
  background: #4a6b7c;
  color: #f4e8c8;
}

.btn-primary:hover {
  background: #5a7b8c;
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: #8fa5b8;
  border: 2px solid #8fa5b8;
}

.btn-secondary:hover {
  background: #8fa5b8;
  color: #1a2332;
}

.btn-accent {
  background: #2a3441;
  color: #f4e8c8;
  border: 2px solid #4a6b7c;
}

.btn-accent:hover {
  background: #4a6b7c;
  border-color: #5a7b8c;
}

.btn-success {
  background: #3d5a4f;
  color: #f4e8c8;
  border: 2px solid #3d5a4f;
  position: relative;
  overflow: hidden;
}

.btn-success:hover {
  background: #4a6b5f;
  border-color: #4a6b5f;
  transform: translateY(-2px);
}

.btn-success::before {
  content: "✨";
  position: absolute;
  left: -20px;
  top: 50%;
  transform: translateY(-50%);
  transition: all 0.3s ease;
  opacity: 0;
}

.btn-success:hover::before {
  left: 10px;
  opacity: 1;
}

/* Success Demo */
.success-demo {
  background: rgba(61, 90, 79, 0.1);
  border: 1px solid #3d5a4f;
  border-radius: 8px;
  padding: 1.5rem;
  margin: 2rem 0;
  text-align: center;
}

.success-demo h3 {
  color: #3d5a4f;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.success-demo p {
  color: #f4e8c8;
  margin-bottom: 1rem;
}

/* Notification */
.notification {
  background: linear-gradient(135deg, #3d5a4f 0%, #4a6b5f 100%);
  color: #f4e8c8;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  margin: 1rem 0;
  border-left: 4px solid #5a7b6f;
  box-shadow: 0 4px 8px rgba(61, 90, 79, 0.3);
}

.notification strong {
  color: #f4e8c8;
}

/* Color Variables - Use these in your CSS */
:root {
  --color-deep-navy: #1a2332;
  --color-stormy-blue: #2a3441;
  --color-teal-accent: #4a6b7c;
  --color-misty-blue: #8fa5b8;
  --color-antique-gold: #f4e8c8;
  --color-treasure-green: #3d5a4f;

  /* Hover variants */
  --color-teal-hover: #5a7b8c;
  --color-treasure-hover: #4a6b5f;

  /* Background variants */
  --bg-primary: linear-gradient(135deg, #1a2332 0%, #2a3441 100%);
  --bg-card: rgba(255, 255, 255, 0.05);
  --bg-glass: rgba(255, 255, 255, 0.1);
}
