/*
Theme Name: Richard Clébert Portfolio
Theme URI: https://richardclebert.com
Author: Richard Clébert
Author URI: https://richardclebert.com
Description: A premium dark portfolio theme for artists, photographers, and filmmakers. Features a stunning gold accent design with elegant typography using Raleway and Inter fonts.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: richard-theme
Tags: portfolio, photography, dark, one-column, custom-logo, custom-menu, featured-images, theme-options, translation-ready

Richard Clébert Portfolio Theme
Haitian artist specializing in oil paintings, photography, and filmmaking.
*/

/* =====================================================
   CSS Variables / Design Tokens
   ===================================================== */
:root {
  /* Colors */
  --background: hsl(0, 0%, 3%);
  --foreground: hsl(45, 30%, 96%);
  --card: hsl(0, 0%, 6%);
  --card-foreground: hsl(45, 30%, 96%);
  --primary: hsl(42, 78%, 55%);
  --primary-foreground: hsl(0, 0%, 3%);
  --secondary: hsl(0, 0%, 10%);
  --secondary-foreground: hsl(45, 30%, 96%);
  --muted: hsl(0, 0%, 14%);
  --muted-foreground: hsl(40, 15%, 55%);
  --border: hsl(0, 0%, 16%);
  --ring: hsl(42, 78%, 55%);
  
  /* Gold variations */
  --gold: hsl(42, 78%, 55%);
  --gold-light: hsl(42, 85%, 68%);
  --gold-dark: hsl(42, 65%, 38%);
  
  /* Other colors */
  --cream: hsl(45, 30%, 96%);
  --charcoal: hsl(0, 0%, 8%);
  --deep-black: hsl(0, 0%, 3%);
  
  /* Gradients */
  --gradient-gold: linear-gradient(135deg, hsl(42, 78%, 55%), hsl(42, 85%, 68%));
  --gradient-dark: linear-gradient(180deg, hsl(0, 0%, 3%), hsl(0, 0%, 6%));
  --gradient-card: linear-gradient(145deg, hsl(0, 0%, 8%), hsl(0, 0%, 4%));
  
  /* Shadows */
  --shadow-gold: 0 0 60px hsla(42, 78%, 55%, 0.2);
  --shadow-elevated: 0 30px 60px -20px hsla(0, 0%, 0%, 0.6);
  --shadow-glow: 0 0 80px hsla(42, 78%, 55%, 0.25);
  
  /* Typography */
  --font-display: 'Raleway', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-accent: 'Raleway', sans-serif;
  
  /* Border Radius */
  --radius: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  --easing: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.2;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea {
  font-family: inherit;
}

::selection {
  background: hsla(42, 78%, 55%, 0.3);
  color: var(--foreground);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--background);
}

::-webkit-scrollbar-thumb {
  background: var(--muted);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* Layout & Container */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 6rem 0;
}

@media (min-width: 768px) {
  .section {
    padding: 8rem 0;
  }
}

/* Utility Classes */
.text-gradient {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-highlight {
  color: var(--foreground);
  font-weight: 500;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-full);
  transition: all var(--transition-normal) var(--easing);
}

.btn-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.btn-primary:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-gold);
}

.btn-secondary {
  background: transparent;
  color: var(--foreground);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  border-color: hsla(42, 78%, 55%, 0.5);
  background: hsla(42, 78%, 55%, 0.05);
}

.btn-icon {
  width: 1rem;
  height: 1rem;
  transition: transform var(--transition-fast);
}

.btn:hover .btn-icon {
  transform: translateX(4px);
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: all var(--transition-slow) var(--easing);
}

.navbar.scrolled {
  background: hsla(0, 0%, 3%, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 0.75rem 0;
  box-shadow: 0 4px 30px hsla(0, 0%, 0%, 0.3);
  border-bottom: 1px solid hsla(0, 0%, 100%, 0.05);
}

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

.nav-logo {
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-fast);
}

.nav-logo:hover {
  transform: scale(1.02);
}

.logo-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--foreground);
  letter-spacing: -0.02em;
}

.logo-tagline {
  font-family: var(--font-body);
  font-size: 0.625rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-top: 0.125rem;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

@media (min-width: 1024px) {
  .nav-links {
    display: flex;
  }
}

.nav-link {
  position: relative;
  padding: 0.5rem 1rem;
  font-family: var(--font-display);
  font-size: 0.875rem;
  color: var(--muted-foreground);
  transition: color var(--transition-normal);
}

.nav-link:hover,
.nav-link.active,
.nav-link.current-menu-item > a {
  color: var(--primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 1rem;
  height: 1px;
  background: var(--primary);
  transition: transform var(--transition-normal) var(--easing);
}

.nav-link.active::after,
.nav-link.current-menu-item > a::after {
  transform: translateX(-50%) scaleX(1);
}

.nav-cta {
  display: none;
  padding: 0.5rem 1.25rem;
  background: var(--primary);
  color: var(--primary-foreground);
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius-full);
  transition: all var(--transition-normal);
}

@media (min-width: 1024px) {
  .nav-cta {
    display: flex;
  }
}

.nav-cta:hover {
  transform: scale(1.03);
}

/* Mobile Menu */
.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  color: var(--foreground);
  transition: color var(--transition-fast);
}

@media (min-width: 1024px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-menu-btn:hover {
  color: var(--primary);
}

.mobile-menu-btn .menu-icon,
.mobile-menu-btn .close-icon {
  width: 1.375rem;
  height: 1.375rem;
}

.mobile-menu-btn .close-icon {
  display: none;
}

.mobile-menu-btn.active .menu-icon {
  display: none;
}

.mobile-menu-btn.active .close-icon {
  display: block;
}

.mobile-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: hsla(0, 0%, 3%, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid hsla(0, 0%, 100%, 0.05);
  padding: 2rem 0;
}

.mobile-nav.active {
  display: block;
  animation: slideDown 0.4s var(--easing);
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-nav-link {
  display: block;
  padding: 0.75rem 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--foreground);
  border-bottom: 1px solid hsla(0, 0%, 100%, 0.05);
  transition: color var(--transition-fast);
}

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

.mobile-nav-cta {
  display: block;
  margin-top: 1.5rem;
  padding: 0.875rem;
  text-align: center;
  background: var(--primary);
  color: var(--primary-foreground);
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-full);
}

/* Footer */
.footer {
  position: relative;
  padding: 5rem 0 2rem;
  background: var(--card);
  overflow: hidden;
}

.footer-bg-circle {
  position: absolute;
  left: -10rem;
  bottom: -10rem;
  width: 25rem;
  height: 25rem;
  border-radius: 50%;
  background: radial-gradient(circle, var(--primary), transparent 70%);
  opacity: 0.05;
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer-brand {
  max-width: 20rem;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 1rem;
  transition: transform var(--transition-fast);
}

.footer-logo:hover {
  transform: scale(1.02);
}

.footer-logo-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--foreground);
}

.footer-logo-tagline {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--primary);
  margin-top: 0.25rem;
}

.footer-description {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer-location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.footer-location-icon {
  width: 1rem;
  height: 1rem;
  color: var(--primary);
}

.footer-column-title {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--foreground);
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-link-icon {
  width: 1rem;
  height: 1rem;
}

.arrow-icon {
  width: 0.75rem;
  height: 0.75rem;
  opacity: 0;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.footer-links a:hover .arrow-icon {
  opacity: 1;
  transform: translate(2px, -2px);
}

.footer-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border), transparent);
  margin-bottom: 2rem;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social-link {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--secondary);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--foreground);
  transition: all var(--transition-normal);
}

.footer-social-link:hover {
  background: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
}

.footer-social-link svg {
  width: 1rem;
  height: 1rem;
}

.footer-copyright {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.copyright-dot {
  color: var(--primary);
}

.footer-made-with {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.heart-icon {
  width: 0.875rem;
  height: 0.875rem;
  color: var(--primary);
  animation: heartbeat 2s ease-in-out infinite;
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

/* WordPress Menu Compatibility */
.menu-item a {
  position: relative;
  padding: 0.5rem 1rem;
  font-family: var(--font-display);
  font-size: 0.875rem;
  color: var(--muted-foreground);
  transition: color var(--transition-normal);
}

.menu-item a:hover,
.menu-item.current-menu-item a {
  color: var(--primary);
}

/* Animation Utilities */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s var(--easing), transform 0.6s var(--easing);
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

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

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

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
