/* PRB Collection - Official Brand Identity */

:root {
  /* Monochromatic Color Palette */
  --black: #000000;             /* Pure black */
  --dark-gray: #333333;         /* Dark gray */
  --medium-gray: #666666;       /* Medium gray */
  --light-gray: #999999;        /* Light gray */
  --lighter-gray: #CCCCCC;      /* Lighter gray */
  --lightest-gray: #F5F5F5;     /* Very light gray */
  --white: #FFFFFF;             /* Pure white */
  
  /* Semantic Colors */
  --primary-dark: var(--black);
  --primary: var(--dark-gray);
  --background: var(--white);
  --background-secondary: var(--lightest-gray);
  --text-primary: var(--black);
  --text-secondary: var(--dark-gray);
  --text-muted: var(--medium-gray);
  --accent: var(--black);
  --border: var(--lighter-gray);
  --shadow: rgba(0, 0, 0, 0.1);
}

/* Typography - PRB Brand Guidelines */
.font-gliko {
  font-family: 'Oswald', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 400;
  letter-spacing: -0.02em;
  text-transform: none; /* Sentence case as per guidelines */
}

.font-grotesk {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 400;
  letter-spacing: 0.01em;
}

/* Hero Statements - Gliko for short impactful titles (3-6 words) */
.hero-title {
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 0.9;
}

/* Editorial Text - FK Grotesk for longer text */
.editorial-text {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  letter-spacing: 0.01em;
  line-height: 1.6;
}

/* Custom Components */
.hero-section {
  background: var(--background);
}

.hero-content {
  position: relative;
  z-index: 2;
}

/* Simple Image Styling */
.hero-image img {
  /* No effects, just clean display */
}

/* Navigation Enhancements */
.nav-enhanced {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}

.nav-enhanced.scrolled {
  background: var(--white);
  box-shadow: 0 2px 10px var(--shadow);
}

.nav-link {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 400;
  letter-spacing: 0.5px;
  position: relative;
  transition: all 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--primary);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Buttons */
.btn-primary {
  background: var(--black);
  color: var(--white);
  border: 2px solid var(--black);
  padding: 18px 36px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 16px;
  transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  transition: left 0.6s ease;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  background: var(--white);
  color: var(--black);
}

/* Cards and Sections */
.card-elegant {
  background: white;
  border: 1px solid var(--border);
  border-radius: 0;
}

/* Footer Enhancements */
.footer-elegant {
  background: var(--black);
  color: var(--white);
  position: relative;
}

.footer-elegant::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--medium-gray);
}

/* Form Enhancements */
.form-elegant input,
.form-elegant select,
.form-elegant textarea {
  border: 1px solid var(--border);
  background: white;
  color: var(--text-primary);
  border-radius: 0;
  padding: 12px 16px;
  font-weight: 300;
  transition: all 0.3s ease;
}

.form-elegant input:focus,
.form-elegant select:focus,
.form-elegant textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.form-elegant label {
  color: var(--text-secondary);
  font-weight: 400;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 12px;
}

/* Flash Messages */
.flash-message {
  border-radius: 0;
  border-left: 4px solid var(--primary);
  background: var(--background-secondary);
  color: var(--text-primary);
  font-weight: 300;
}

.flash-success {
  border-left-color: #4a7c59;
  background: #f0f7f0;
}

.flash-error {
  border-left-color: #c53030;
  background: #fef5f5;
}

/* Responsive Design */
@media (max-width: 1023px) {
  .hero-image {
    order: -1;
    margin-bottom: 3rem;
  }
  
  .hero-image img {
    max-height: 500px;
    object-fit: cover;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .min-h-screen {
    padding: 2rem 0;
  }
  
  .btn-primary {
    padding: 16px 32px;
    font-size: 16px;
    width: 100%;
    text-align: center;
  }
  
  .hero-image img {
    max-height: 400px;
  }
  
  .space-y-12 > * + * {
    margin-top: 2rem !important;
  }
  
  .gap-16 {
    gap: 2rem !important;
  }
  
  .gap-20 {
    gap: 2rem !important;
  }
}

@media (max-width: 480px) {
  .hero-image img {
    max-height: 300px;
  }
  
  .space-y-12 > * + * {
    margin-top: 1.5rem !important;
  }
  
  .btn-primary {
    padding: 14px 28px;
    font-size: 14px;
  }
}

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

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

.fade-in-up-delay {
  animation: fadeInUp 0.8s ease-out;
}

.animate-in {
  animation: fadeInUp 0.8s ease-out forwards;
}

.animate-in-delay {
  animation: slideIn 0.6s ease-out forwards;
}

/* Enhanced Navigation */
.nav-enhanced {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-enhanced.scrolled {
  transform: translateY(0) !important;
}

/* Form Enhancements */
.form-elegant .focused label {
  color: var(--primary);
  transform: translateY(-2px);
  font-size: 11px;
}

.form-elegant input.typing,
.form-elegant textarea.typing {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
}

/* Button Ripple Effect */
.btn-primary {
  position: relative;
  overflow: hidden;
}

.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: scale(0);
  animation: ripple 0.6s linear;
  pointer-events: none;
}

@keyframes ripple {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* Image Loading States */
img.loading {
  animation: pulse 1.5s infinite;
  filter: blur(2px);
}

img.loaded {
  filter: blur(0);
  transition: filter 0.3s ease;
}

/* Utility Classes */
.text-antique {
  color: var(--text-secondary);
}

.bg-antique {
  background-color: var(--background-secondary);
}

.border-antique {
  border-color: var(--border);
}

/* Loading States */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid var(--primary);
  border-radius: 50%;
  border-top-color: transparent;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
