/* Import vintage book fonts */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600&family=Crimson+Text:ital,wght@0,400;0,600;1,400&family=Old+Standard+TT:ital,wght@0,400;0,700;1,400&display=swap');

/* Apply vintage book fonts throughout */
body, html, #book, .page, .data, h1, h2, h3, h4, h5, h6, p, ul, li, a, button, input, textarea, label, span, div {
  font-family: 'Crimson Text', 'Old Standard TT', serif !important;
}

/* Title and headers font */
h1, h2, .cover h1, .cover p {
  font-family: 'Cinzel', 'Old Standard TT', serif !important;
}

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

body {
  background-image: url('/images/banner.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  overflow: hidden;
  font-family: 'Crimson Text', serif;
  color: #2d1810;
}

/* Simple wood grain overlay */
body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(139, 69, 19, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(101, 67, 33, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 40% 80%, rgba(160, 82, 45, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

/* Basic book container */
#book {
  width: 1000px;
  height: 600px;
  position: relative;
  filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.4)) 
          drop-shadow(0 5px 15px rgba(0, 0, 0, 0.2));
}

/*rustic cover with deep leather texture */
#book .cover {
  background: #1a0e0a;
  background-image: 
    /* Deep leather base layers */
    linear-gradient(135deg, 
      #2F1B14 0%, 
      #654321 15%, 
      #8B4513 30%, 
      #A0522D 45%, 
      #654321 60%, 
      #4A2C17 75%, 
      #2F1B14 90%, 
      #1a0e0a 100%),
    /* Leather grain texture */
    radial-gradient(circle at 15% 20%, rgba(139, 69, 19, 0.4) 0%, transparent 40%),
    radial-gradient(circle at 85% 30%, rgba(101, 67, 33, 0.3) 0%, transparent 45%),
    radial-gradient(circle at 30% 70%, rgba(160, 82, 45, 0.3) 0%, transparent 35%),
    radial-gradient(circle at 70% 80%, rgba(139, 69, 19, 0.25) 0%, transparent 40%),
    /* Scratches and wear marks */
    linear-gradient(25deg, transparent 47%, rgba(0, 0, 0, 0.2) 48%, rgba(0, 0, 0, 0.2) 50%, transparent 51%),
    linear-gradient(-35deg, transparent 46%, rgba(255, 255, 255, 0.03) 47%, rgba(255, 255, 255, 0.03) 49%, transparent 50%),
    linear-gradient(75deg, transparent 48%, rgba(0, 0, 0, 0.15) 49%, rgba(0, 0, 0, 0.15) 51%, transparent 52%),
    /* Age spots and stains */
    radial-gradient(ellipse at 20% 15%, rgba(101, 67, 33, 0.3) 0%, transparent 25%),
    radial-gradient(ellipse at 80% 85%, rgba(74, 44, 23, 0.4) 0%, transparent 30%),
    radial-gradient(ellipse at 60% 40%, rgba(139, 69, 19, 0.2) 0%, transparent 35%);
  border: 4px solid #2a1610;
  border-radius: 6px;
  position: relative;
  overflow: hidden;
  box-shadow: 
    /* Deep embossed border effect */
    inset 20px 20px 0 -15px rgba(160, 82, 45, 0.2),
    inset -20px -20px 0 -15px rgba(0, 0, 0, 0.4),
    inset 0 0 0 3px rgba(139, 69, 19, 0.4),
    inset 0 0 0 6px rgba(74, 44, 23, 0.6),
    /* External shadows */
    0 0 20px rgba(0, 0, 0, 0.6),
    0 0 40px rgba(0, 0, 0, 0.3);
}

/* spine effect with box-shadow */
#book .cover::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 8px;
  background: linear-gradient(to right, 
    rgba(26, 14, 10, 0.8) 0%, 
    rgba(47, 27, 20, 0.6) 30%,
    rgba(74, 44, 23, 0.4) 70%,
    transparent 100%);
  box-shadow: 
    inset -3px 0 6px rgba(0, 0, 0, 0.7),
    inset 2px 0 4px rgba(160, 82, 45, 0.2);
}

#book .cover h1 {
  color: #f4e4bc;
  text-align: center;
  font-size: 40px;
  line-height: 48px;
  margin: 50px 30px 20px 30px;
  font-family: 'Cinzel', serif;
  font-weight: 600;
  text-shadow: 
    3px 3px 6px rgba(0, 0, 0, 0.9),
    0 0 15px rgba(244, 228, 188, 0.4),
    1px 1px 3px rgba(0, 0, 0, 0.8);
  letter-spacing: 1px;

  filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.8));
}

#book .cover p {
  color: #d4af37;
  text-align: center;
  font-size: 18px;
  margin-top: 8em;
  font-family: 'Cinzel', serif;
  text-shadow: 
    2px 2px 4px rgba(0, 0, 0, 0.8),
    0 0 8px rgba(212, 175, 55, 0.3),
    1px 1px 2px rgba(0, 0, 0, 0.9);
  letter-spacing: 2px;
  filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.7));
}

/*rustic aged paper */
#book .page {
  background-color: #f7f4ee;
  background-image: 
    /* Base paper texture with fibers */
    linear-gradient(90deg, rgba(139, 69, 19, 0.02) 50%, transparent 50%),
    linear-gradient(0deg, rgba(101, 67, 33, 0.02) 50%, transparent 50%),
    /* Age stains and discoloration */
    radial-gradient(ellipse at 15% 20%, rgba(160, 82, 45, 0.12) 0%, transparent 25%),
    radial-gradient(ellipse at 85% 15%, rgba(139, 69, 19, 0.08) 0%, transparent 30%),
    radial-gradient(ellipse at 25% 80%, rgba(101, 67, 33, 0.10) 0%, transparent 35%),
    radial-gradient(ellipse at 75% 85%, rgba(160, 82, 45, 0.09) 0%, transparent 28%),
    radial-gradient(ellipse at 45% 35%, rgba(139, 69, 19, 0.06) 0%, transparent 40%),
    radial-gradient(ellipse at 65% 60%, rgba(101, 67, 33, 0.07) 0%, transparent 32%),
    /* Coffee ring stains */
    radial-gradient(circle at 20% 70%, rgba(101, 67, 33, 0.15) 8%, rgba(101, 67, 33, 0.05) 9%, transparent 12%),
    radial-gradient(circle at 80% 30%, rgba(139, 69, 19, 0.12) 6%, rgba(139, 69, 19, 0.03) 7%, transparent 10%),
    /* Water damage marks */
    radial-gradient(ellipse 60px 30px at 30% 15%, rgba(160, 82, 45, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 40px 80px at 85% 75%, rgba(139, 69, 19, 0.06) 0%, transparent 80%),
    /* Foxing spots (small brown age spots) */
    radial-gradient(circle 2px at 25% 25%, rgba(139, 69, 19, 0.3) 0%, transparent 100%),
    radial-gradient(circle 1px at 75% 40%, rgba(101, 67, 33, 0.4) 0%, transparent 100%),
    radial-gradient(circle 3px at 15% 65%, rgba(160, 82, 45, 0.25) 0%, transparent 100%),
    radial-gradient(circle 2px at 85% 20%, rgba(139, 69, 19, 0.35) 0%, transparent 100%),
    radial-gradient(circle 1px at 35% 90%, rgba(101, 67, 33, 0.3) 0%, transparent 100%),
    radial-gradient(circle 2px at 90% 60%, rgba(160, 82, 45, 0.28) 0%, transparent 100%);
  color: #2d1810;
  border: 1px solid #d4c0a1;
}

/* Enhanced gradients for page binding with more realistic aging */
#book .odd {
  background-image: 
    -webkit-linear-gradient(left, #f7f4ee 94%, #e8dcc6 97%, #d4c5a9 99%, #c4b597 100%),
    /* paper texture */
    linear-gradient(90deg, rgba(139, 69, 19, 0.02) 50%, transparent 50%),
    linear-gradient(0deg, rgba(101, 67, 33, 0.02) 50%, transparent 50%),
    /* realistic age stains */
    radial-gradient(ellipse at 95% 25%, rgba(139, 69, 19, 0.15) 0%, transparent 20%),
    radial-gradient(ellipse at 100% 75%, rgba(101, 67, 33, 0.12) 0%, transparent 25%),
    /* Binding wear */
    radial-gradient(ellipse 10px 200px at 100% 50%, rgba(160, 82, 45, 0.2) 0%, transparent 70%);
  background-image: 
    -moz-linear-gradient(left, #f7f4ee 94%, #e8dcc6 97%, #d4c5a9 99%, #c4b597 100%),
    linear-gradient(90deg, rgba(139, 69, 19, 0.02) 50%, transparent 50%),
    linear-gradient(0deg, rgba(101, 67, 33, 0.02) 50%, transparent 50%),
    radial-gradient(ellipse at 95% 25%, rgba(139, 69, 19, 0.15) 0%, transparent 20%),
    radial-gradient(ellipse at 100% 75%, rgba(101, 67, 33, 0.12) 0%, transparent 25%),
    radial-gradient(ellipse 10px 200px at 100% 50%, rgba(160, 82, 45, 0.2) 0%, transparent 70%);
  background-image: 
    -o-linear-gradient(left, #f7f4ee 94%, #e8dcc6 97%, #d4c5a9 99%, #c4b597 100%),
    linear-gradient(90deg, rgba(139, 69, 19, 0.02) 50%, transparent 50%),
    linear-gradient(0deg, rgba(101, 67, 33, 0.02) 50%, transparent 50%),
    radial-gradient(ellipse at 95% 25%, rgba(139, 69, 19, 0.15) 0%, transparent 20%),
    radial-gradient(ellipse at 100% 75%, rgba(101, 67, 33, 0.12) 0%, transparent 25%),
    radial-gradient(ellipse 10px 200px at 100% 50%, rgba(160, 82, 45, 0.2) 0%, transparent 70%);
  background-image: 
    -ms-linear-gradient(left, #f7f4ee 94%, #e8dcc6 97%, #d4c5a9 99%, #c4b597 100%),
    linear-gradient(90deg, rgba(139, 69, 19, 0.02) 50%, transparent 50%),
    linear-gradient(0deg, rgba(101, 67, 33, 0.02) 50%, transparent 50%),
    radial-gradient(ellipse at 95% 25%, rgba(139, 69, 19, 0.15) 0%, transparent 20%),
    radial-gradient(ellipse at 100% 75%, rgba(101, 67, 33, 0.12) 0%, transparent 25%),
    radial-gradient(ellipse 10px 200px at 100% 50%, rgba(160, 82, 45, 0.2) 0%, transparent 70%);
  box-shadow: inset -4px 0 8px rgba(0, 0, 0, 0.15);
}

#book .even {
  background-image: 
    -webkit-linear-gradient(right, #f7f4ee 94%, #e8dcc6 97%, #d4c5a9 99%, #c4b597 100%),
    linear-gradient(90deg, rgba(139, 69, 19, 0.02) 50%, transparent 50%),
    linear-gradient(0deg, rgba(101, 67, 33, 0.02) 50%, transparent 50%),
    radial-gradient(ellipse at 5% 25%, rgba(139, 69, 19, 0.15) 0%, transparent 20%),
    radial-gradient(ellipse at 0% 75%, rgba(101, 67, 33, 0.12) 0%, transparent 25%),
    radial-gradient(ellipse 10px 200px at 0% 50%, rgba(160, 82, 45, 0.2) 0%, transparent 70%);
  background-image: 
    -moz-linear-gradient(right, #f7f4ee 94%, #e8dcc6 97%, #d4c5a9 99%, #c4b597 100%),
    linear-gradient(90deg, rgba(139, 69, 19, 0.02) 50%, transparent 50%),
    linear-gradient(0deg, rgba(101, 67, 33, 0.02) 50%, transparent 50%),
    radial-gradient(ellipse at 5% 25%, rgba(139, 69, 19, 0.15) 0%, transparent 20%),
    radial-gradient(ellipse at 0% 75%, rgba(101, 67, 33, 0.12) 0%, transparent 25%),
    radial-gradient(ellipse 10px 200px at 0% 50%, rgba(160, 82, 45, 0.2) 0%, transparent 70%);
  background-image: 
    -o-linear-gradient(right, #f7f4ee 94%, #e8dcc6 97%, #d4c5a9 99%, #c4b597 100%),
    linear-gradient(90deg, rgba(139, 69, 19, 0.02) 50%, transparent 50%),
    linear-gradient(0deg, rgba(101, 67, 33, 0.02) 50%, transparent 50%),
    radial-gradient(ellipse at 5% 25%, rgba(139, 69, 19, 0.15) 0%, transparent 20%),
    radial-gradient(ellipse at 0% 75%, rgba(101, 67, 33, 0.12) 0%, transparent 25%),
    radial-gradient(ellipse 10px 200px at 0% 50%, rgba(160, 82, 45, 0.2) 0%, transparent 70%);
  background-image: 
    -ms-linear-gradient(right, #f7f4ee 94%, #e8dcc6 97%, #d4c5a9 99%, #c4b597 100%),
    linear-gradient(90deg, rgba(139, 69, 19, 0.02) 50%, transparent 50%),
    linear-gradient(0deg, rgba(101, 67, 33, 0.02) 50%, transparent 50%),
    radial-gradient(ellipse at 5% 25%, rgba(139, 69, 19, 0.15) 0%, transparent 20%),
    radial-gradient(ellipse at 0% 75%, rgba(101, 67, 33, 0.12) 0%, transparent 25%),
    radial-gradient(ellipse 10px 200px at 0% 50%, rgba(160, 82, 45, 0.2) 0%, transparent 70%);
  box-shadow: inset 4px 0 8px rgba(0, 0, 0, 0.15);
}

/* content styling */
.content-pages .data {
  padding: 20px 25px;
  font-family: 'Crimson Text', serif;
  color: #2d1810;
  line-height: 1.6;
  height: 100%;
  overflow-y: auto;
  text-align: justify;
}

/* page headers with decorative elements */
.page-header {
  text-align: center;
  margin-bottom: 20px;
  border-bottom: 2px solid rgba(139, 69, 19, 0.2);
  padding-bottom: 10px;
  position: relative;
}

.content-pages .data h2 {
  font-size: 24px;
  margin-bottom: 5px;
  font-family: 'Cinzel', serif;
  color: #4a2c17;
  font-weight: 600;
  letter-spacing: 1px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

/* Add decorative flourish under headers */
.page-header::after {
  content: '❦';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  color: #8B4513;
  font-size: 20px;
  background: #f9f7f1;
  padding: 0 10px;
}

.chapter-subtitle {
  font-size: 16px;
  color: #8B4513;
  font-family: 'Cinzel', serif;
  font-style: italic;
  font-weight: 400;
}

.content-pages .data p {
  font-size: 15px;
  margin-bottom: 12px;
  color: #2d1810;
  text-align: justify;
}

/* First paragraph gets special indentation */
.content-pages .data p:first-of-type {
  text-indent: 0;
}

.content-pages .data p:not(:first-of-type) {
  text-indent: 1.5em;
}

/* Enhanced list styling */
.content-pages .data ul {
  margin: 15px 0;
  padding-left: 25px;
}

.content-pages .data ul li {
  font-size: 15px;
  margin-bottom: 8px;
  color: #2d1810;
  position: relative;
}

/* Custom bullet points */
.content-pages .data ul li::marker {
  color: #8B4513;
}

/* Drop cap styling */
.drop-cap {
  float: left;
  font-family: 'Cinzel', serif;
  font-size: 56px;
  line-height: 40px;
  padding-right: 8px;
  padding-top: 4px;
  color: #8B4513;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

/* enhanced text styling */
.quote-block {
  background: rgba(139, 69, 19, 0.05);
  border-left: 4px solid #8B4513;
  padding: 12px 15px;
  margin: 15px 0;
  font-style: italic;
  border-radius: 0 4px 4px 0;
}

.insight-box, .wisdom-box {
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.2);
  padding: 12px;
  margin: 15px 0;
  border-radius: 4px;
}

.closing-thought, .closing-message {
  text-align: center;
  margin-top: 20px;
  font-size: 16px;
  color: #8B4513;
  font-style: italic;
}

/* Basic index styling */
#index h2 {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 20px;
  text-align: center;
  color: #4a2c17;
  font-family: 'Cinzel', serif;
}

.index-list {
  list-style-type: none;
  padding-left: 0;
  margin-top: 20px;
}

.index-list li {
  margin-bottom: 14px;
}

.chapter-num {
  display: inline-block;
  width: 35px;
  color: #8B4513;
  font-family: 'Cinzel', serif;
  font-weight: 600;
  font-size: 16px;
}

#index ul li a {
  text-decoration: none;
  color: #2d1810;
  font-size: 16px;
  transition: all 0.3s ease;
  display: block;
  padding: 8px 0;
  border-bottom: 1px dotted rgba(139, 69, 19, 0.3);
}

#index ul li a:hover {
  color: #8B4513;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
  background: rgba(139, 69, 19, 0.05);
  padding-left: 10px;
}

.index-container {
  margin: 0 15px;
}

/* author page styling */
.author-page {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.author-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 15px;
}

.author-image-container {
  margin: 15px 0;
}

.author-portrait {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 4px solid #8B4513;
  box-shadow: 
    0 4px 12px rgba(0, 0, 0, 0.3),
    inset 0 0 0 2px rgba(212, 175, 55, 0.3);
  object-fit: cover;
  filter: sepia(15%) contrast(1.1) brightness(1.05);
}

.image-caption {
  margin-top: 8px;
  font-size: 14px;
  color: #8B4513;
  font-family: 'Cinzel', serif;
  font-style: italic;
  letter-spacing: 0.5px;
}

.author-intro p {
  font-size: 15px;
  margin-bottom: 10px;
  text-align: justify;
}

/* Project showcase styling */
.project-showcase {
  text-align: center;
  margin: 15px 0;
  padding: 10px;
  background: rgba(139, 69, 19, 0.03);
  border-radius: 6px;
  border: 1px solid rgba(139, 69, 19, 0.1);
}

.project-image {
  max-width: 80%;
  height: 100px;
  object-fit: cover;
  border-radius: 6px;
  border: 3px solid #8B4513;
  box-shadow: 
    0 4px 8px rgba(0, 0, 0, 0.2),
    inset 0 0 0 1px rgba(212, 175, 55, 0.2);
  filter: sepia(10%) contrast(1.05) brightness(0.95);
  transition: all 0.3s ease;
}

.project-image:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 6px 12px rgba(0, 0, 0, 0.3),
    inset 0 0 0 1px rgba(212, 175, 55, 0.3);
  filter: sepia(5%) contrast(1.1) brightness(1.02);
}

/* navigation controls styling */
.navigation-controls {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1000px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
}

.navigation-controls button {
  background: linear-gradient(135deg, #654321, #8B4513);
  border: 2px solid #4a2c17;
  color: #f4e4bc;
  padding: 12px 18px;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 
    0 3px 6px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.navigation-controls button:hover {
  background: linear-gradient(135deg, #8B4513, #A0522D);
  transform: translateY(-1px);
  box-shadow: 
    0 4px 8px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.navigation-controls i {
  font-size: 18px;
}

.progress-container {
  flex: 1;
  height: 12px;
  margin: 0 20px;
  background: #d4c5a9;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #8B4513;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

#progressBar {
  height: 100%;
  width: 0%;
  background: linear-gradient(to right, #8B4513, #A0522D, #654321);
  transition: width 0.3s ease-in-out;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* project sections */
.tech-highlights {
  margin: 12px 0;
  background: rgba(212, 175, 55, 0.05);
  padding: 10px 12px;
  border-radius: 4px;
  border-left: 3px solid #8B4513;
}

.tech-highlights h4 {
  font-size: 14px;
  color: #4a2c17;
  font-family: 'Cinzel', serif;
  margin-bottom: 8px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.tech-list {
  list-style: none;
  padding-left: 0;
  font-size: 13px;
  line-height: 1.4;
}

.tech-list li {
  margin-bottom: 4px;
  padding-left: 15px;
  position: relative;
  color: #2d1810;
}

.tech-list li::before {
  content: '▪';
  position: absolute;
  left: 0;
  color: #8B4513;
  font-weight: bold;
}

/* project links section */
.project-links-section {
  margin-top: 12px;
  padding: 12px;
  background: rgba(139, 69, 19, 0.05);
  border-radius: 6px;
  border: 1px solid rgba(139, 69, 19, 0.15);
  text-align: center;
}

.project-links-section h4 {
  font-size: 13px;
  color: #4a2c17;
  font-family: 'Cinzel', serif;
  margin-bottom: 10px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.project-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.project-links a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #f4e4bc;
  background: linear-gradient(135deg, #8B4513, #A0522D);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  font-family: 'Cinzel', serif;
  font-size: 12px;
  padding: 6px 10px;
  border: 1px solid #654321;
  border-radius: 4px;
  box-shadow: 
    0 2px 4px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  letter-spacing: 0.3px;
}

.project-links a:hover {
  background: linear-gradient(135deg, #A0522D, #654321);
  transform: translateY(-1px);
  box-shadow: 
    0 3px 6px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.project-links a i {
  font-size: 11px;
}

/* social media styling */
.social-media {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.social-media i {
  font-size: 36px;
  color: #654321;
  transition: all 0.3s ease;
  filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.2));
}

.social-media i:hover {
  color: #8B4513;
  transform: translateY(-2px);
  filter: drop-shadow(3px 3px 6px rgba(0, 0, 0, 0.3));
}

/* CV button and form elements */
.cv-button {
  display: inline-block;
  padding: 10px 20px;
  margin-top: 15px;
  font-size: 16px;
  background: linear-gradient(135deg, #8B4513, #A0522D);
  color: #f4e4bc;
  text-decoration: none;
  border-radius: 4px;
  border: 2px solid #654321;
  box-shadow: 
    0 3px 6px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  font-family: 'Cinzel', serif;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.cv-button:hover {
  background: linear-gradient(135deg, #A0522D, #8B4513);
  transform: translateY(-1px);
  box-shadow: 
    0 4px 8px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #8B4513;
  background: #ffffff;
  box-shadow: 0 0 5px rgba(139, 69, 19, 0.3);
}

/* form button with hover animation */
.send-button {
  padding: 10px 16px;
  font-size: 15px;
  background: linear-gradient(135deg, #8B4513, #A0522D);
  color: #f4e4bc;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.4s ease;
  font-family: 'Cinzel', serif;
  font-weight: 500;
  letter-spacing: 0.5px;
  box-shadow: 
    0 3px 6px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
  position: relative;
  overflow: hidden;
}

.send-button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.3) 0%, rgba(160, 82, 45, 0.2) 70%, transparent 100%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.6s ease;
  z-index: 0;
}

.send-button:hover::before {
  width: 200px;
  height: 200px;
}

.send-button:hover {
  background: linear-gradient(135deg, #A0522D, #d4af37);
  transform: translateY(-2px);
  box-shadow: 
    0 6px 12px rgba(0, 0, 0, 0.3),
    inset 0 2px 0 rgba(255, 255, 255, 0.2),
    0 0 20px rgba(212, 175, 55, 0.4);
  color: #2d1810;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.3);
  letter-spacing: 1px;
}

/* Ensure text stays above the animation */
.send-button i,
.send-button span {
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}

.send-button:hover i {
  transform: translateX(2px);
  filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.3));
}

/* Connection methods styling */
.connection-methods {
  margin: 12px 0;
  padding: 10px;
  background: rgba(139, 69, 19, 0.03);
  border-radius: 4px;
  border: 1px solid rgba(139, 69, 19, 0.1);
}

.connection-methods h4 {
  font-size: 14px;
  color: #4a2c17;
  font-family: 'Cinzel', serif;
  margin-bottom: 6px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.connection-methods p {
  font-size: 13px;
  margin-bottom: 8px;
  line-height: 1.4;
}

/* Responsive design */
@media (max-width: 1000px) and (min-width: 850px) {
  #book {
    width: 850px;
    height: 675px;
  }

  #book .cover h1 {
    font-size: 36px;
    margin: 30px 25px 15px 25px;
  }

  .content-pages .data {
    padding: 18px 22px;
  }

  .content-pages .data h2 {
    font-size: 22px;
  }

  .author-portrait {
    width: 100px;
    height: 100px;
  }

  .project-image {
    height: 80px;
    max-width: 75%;
  }

  .form-row {
    flex-direction: column;
    gap: 8px;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 12px;
    padding: 6px 8px;
  }

  #message {
    height: 50px;
  }

  .project-links a {
    font-size: 11px;
    padding: 5px 8px;
  }

  .tech-list {
    font-size: 12px;
  }
}

@media (min-width: 1001px) {
  #book {
    width: 1000px;
    height: 600px;
  }
}

/* skills page styling */
.skills-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.skill-category {
  margin-bottom: 10px;
  padding: 12px;
  background: rgba(139, 69, 19, 0.03);
  border-radius: 6px;
  border-left: 4px solid #8B4513;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.skill-category h3 {
  font-size: 15px;
  color: #4a2c17;
  font-family: 'Cinzel', serif;
  font-weight: 600;
  margin-bottom: 6px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 13px;
}

.skill-list {
  font-size: 14px;
  color: #2d1810;
  line-height: 1.5;
  font-style: italic;
  padding-left: 8px;
}


.cover-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 30px;
}

.subtitle {
  color: #d4af37;
  text-align: center;
  font-size: 16px;
  margin-bottom: 40px;
  font-family: 'Cinzel', serif;
  font-style: italic;
}

.author {
  color: #d4af37;
  text-align: center;
  font-size: 18px;
  margin-bottom: 20px;
  font-family: 'Cinzel', serif;
  letter-spacing: 2px;
}

.cover-decoration {
  color: #d4af37;
  font-size: 28px;
}

/* form styling */
.contact-form {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.contact-intro {
  margin-bottom: 15px;
  text-align: justify;
}

.contact-intro p {
  font-size: 14px;
  margin-bottom: 8px;
}

.vintage-form {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-row {
  display: flex;
  gap: 12px;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.contact-form label {
  margin-bottom: 3px;
  font-size: 13px;
  color: #4a2c17;
  font-weight: 600;
  font-family: 'Cinzel', serif;
}

.contact-form input,
.contact-form textarea {
  padding: 7px 9px;
  font-size: 13px;
  border: 2px solid #d4c5a9;
  border-radius: 4px;
  background: #faf8f5;
  color: #2d1810;
  font-family: 'Crimson Text', serif;
  transition: all 0.3s ease;
}

#message {
  height: 60px;
  resize: vertical;
}