/* Frutiger Aero Theme - Green & Blue */

:root {
  /* Colors - Frutiger Aero palette */
  --primary-green: #7ED957;
  --dark-green: #4A9D2F;
  --light-green: #C8F7A0;
  --accent-blue: #4FC3F7;
  --deep-blue: #0288D1;
  --sky-blue: #E1F5FE;
  
  /* Neutrals */
  --white: #ffffff;
  --light-gray: #F5F5F5;
  --gray: #BDBDBD;
  --text-dark: #2C3E50;
  
  /* Shadows & Effects */
  --shadow-soft: 0 4px 15px rgba(78, 205, 196, 0.2);
  --shadow-medium: 0 8px 25px rgba(78, 205, 196, 0.3);
  --shadow-deep: 0 12px 35px rgba(78, 205, 196, 0.4);
  --glass-effect: rgba(255, 255, 255, 0.15);
}

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #E8F5E9 0%, #B2EBF2 100%);
  color: var(--text-dark);
  line-height: 1.6;
  min-height: 100vh;
}

body {
  background-image: url(wolfryryn.neocities.org/graphics/bg.jpg);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-color: rgba(126, 217, 87, 0.5);
}

/* Layout Container */
.container {
  display: flex;
  min-height: 100vh;
}

/* Sticky Sidebar Navigation */
.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  width: 280px;
  height: 100vh;
  background: linear-gradient(180deg, 
    rgba(126, 217, 87, 0.95) 0%, 
    rgba(74, 157, 47, 0.95) 100%);
  backdrop-filter: blur(10px);
  padding: 30px 20px;
  box-shadow: var(--shadow-deep);
  overflow-y: auto;
  z-index: 100;
}

.sidebar h1 {
  color: var(--white);
  font-size: 1.8em;
  margin-bottom: 10px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.sidebar .tagline {
  color: var(--light-green);
  font-size: 0.9em;
  margin-bottom: 30px;
  font-style: italic;
}

.nav-menu {
  list-style: none;
}

.nav-menu li {
  margin-bottom: 8px;
}

.nav-menu a {
  display: block;
  color: var(--white);
  text-decoration: none;
  padding: 12px 15px;
  border-radius: 12px;
  transition: all 0.3s ease;
  background: var(--glass-effect);
  font-weight: 500;
}

.nav-menu a:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateX(5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.nav-menu a.active {
  background: var(--accent-blue);
  box-shadow: 0 4px 12px rgba(79, 195, 247, 0.4);
}

/* Main Content Area */
.main-content {
  margin-left: 280px;
  padding: 40px;
  width: calc(100% - 280px);
}

/* Glossy Cards */
.card {
 background: linear-gradient(to bottom, rgba(191,210,85,1) 0%,rgba(142,185,42,1) 50%,rgba(114,170,0,1) 51%,rgba(158,203,45,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: var(--shadow-medium);
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-deep);
}

/* Page Headers */
h2 {
  color: var(--white);
  font-size: 2.2em;
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

h3 {
  color: var(--white);
  font-size: 1.5em;
  margin-bottom: 15px;
}

/* Gallery Grid - Auto-adjusting based on image width */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.gallery-item {
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.95) 0%, 
    rgba(255, 255, 255, 0.85) 100%);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.gallery-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-deep);
  border-color: var(--accent-blue);
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: all 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item-info {
  padding: 15px;
  background: rgba(255, 255, 255, 0.9);
}

.gallery-item-info h4 {
  color: var(--dark-green);
  margin-bottom: 8px;
  font-size: 1.1em;
  text-align: center;
}

.gallery-item-info p {
  color: var(--text-dark);
  font-size: 0.9em;
  margin-bottom: 5px;
}

.gallery-item-info .date {
  color: var(--gray);
  font-size: 0.85em;
  font-style: italic;
  text-align: center;
}

/* Wide images (panoramic) - Force full width */
.gallery-item.wide {
  grid-column: 1 / -1;
}

/* Writing Synopsis Cards */
.writing-list {
  display: grid;
  gap: 25px;
  margin-top: 30px;
}

.writing-card {
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.95) 0%, 
    rgba(225, 245, 254, 0.9) 100%);
  border-radius: 18px;
  padding: 25px;
  box-shadow: var(--shadow-soft);
  border-left: 5px solid var(--accent-blue);
  transition: all 0.3s ease;
}

.writing-card:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-medium);
  border-left-color: var(--primary-green);
}

.writing-card h3 {
  margin-bottom: 10px;
}

.writing-meta {
  color: var(--gray);
  font-size: 0.9em;
  margin-bottom: 15px;
}

.writing-synopsis {
  color: var(--text-dark);
  margin-bottom: 15px;
  line-height: 1.7;
}

.read-more-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent-blue) 0%, var(--deep-blue) 100%);
  color: var(--white);
  padding: 10px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(79, 195, 247, 0.3);
  transition: all 0.3s ease;
}

.read-more-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(79, 195, 247, 0.5);
  background: linear-gradient(135deg, var(--deep-blue) 0%, var(--accent-blue) 100%);
}

/* Full Writing Page */
.writing-full {
  max-width: 800px;
  margin: 0 auto;
}

.writing-content {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 18px;
  padding: 40px;
  box-shadow: var(--shadow-medium);
  line-height: 1.8;
}

.writing-content p {
  margin-bottom: 20px;
}

.back-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
  color: var(--white);
  padding: 10px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  margin-bottom: 25px;
  box-shadow: 0 4px 12px rgba(126, 217, 87, 0.3);
  transition: all 0.3s ease;
}

.back-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(126, 217, 87, 0.5);
}

/* Jump to Top Button */
#jumpToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: linear-gradient(135deg, var(--accent-blue) 0%, var(--deep-blue) 100%);
  color: var(--white);
  width: 55px;
  height: 55px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-medium);
  font-size: 1.5em;
  display: none;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 99;
}

#jumpToTop:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: var(--shadow-deep);
}

#jumpToTop.visible {
  display: flex;
}

/* Decorative Elements - Frutiger Aero fish/bubbles */
.bubble {
  position: fixed;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, 
    rgba(126, 217, 87, 0.3) 0%, 
    rgba(79, 195, 247, 0.2) 100%);
  box-shadow: 0 4px 15px rgba(126, 217, 87, 0.2);
  animation: float 20s infinite ease-in-out;
  pointer-events: none;
  z-index: -1;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) translateX(0) scale(1);
  }
  50% {
    transform: translateY(-30px) translateX(20px) scale(1.1);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .sidebar {
    width: 100%;
    height: auto;
    position: relative;
  }
  
  .main-content {
    margin-left: 0;
    width: 100%;
    padding: 20px;
  }
  
  .container {
    flex-direction: column;
  }
  
  .gallery {
    grid-template-columns: 1fr;
  }
}
