/*
Theme Name: Simple Elegant
Theme URI: https://lobaughcotter.com/
Author: Matt Cotter
Description: A luxurious, literary-inspired WordPress theme featuring a Fleur De Leah drop cap and Gatsby-style typography.
Version: 1.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: simple-elegant
*/

body {
  font-family: 'Merriweather', serif;
  background-color: #f9f8f6;
  color: #2c2c2c;
  margin: 0;
  padding: 0;
  line-height: 1.8;
  font-size: 1.05rem;
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
}

section {
  max-width: 800px;
  margin: 4rem auto;
  padding: 0 1.5rem;
}

/* Fancy Fleur De Leah first letter — only first <p> in opener */
section:first-of-type p:first-of-type::first-letter {
  float: left;
  font-family: 'Fleur De Leah', cursive;
  font-size: 5rem;
  line-height: 1;
  margin-right: 1.2rem;
  color: #593f2b;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}


hr {
  border: none;
  border-top: 1px solid #d4cfc9;
  margin: 3rem auto;
  width: 60%;
}

blockquote {
  font-style: italic;
  font-size: 1.4rem;
  color: #444;
  margin: 2rem auto;
  text-align: center;
  position: relative;
  padding: 1.5rem 2rem;
  background: #fffdfc;
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

blockquote::before {
  content: "“";
  font-size: 5rem;
  color: #c2b199;
  position: absolute;
  left: -0.8rem;
  top: -1.2rem;
  line-height: 1;
}

blockquote footer {
  display: block;
  font-style: normal;
  margin-top: 1rem;
  color: #7a6c5a;
  font-size: 1rem;
  letter-spacing: 0.5px;
}

/* Subtle fade-in animation */
section {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease forwards;
}

section:nth-of-type(2) { animation-delay: 0.3s; }
section:nth-of-type(3) { animation-delay: 0.6s; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Signature styling */
.signature {
  font-family: 'Fleur De Leah', cursive;
  font-size: 2.5rem;
  color: #593f2b;
  display: block;
  margin-top: 1.5rem;
  text-align: right;
  letter-spacing: 1px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.video-wrapper {
  display: flex;
  justify-content: center;   /* centers horizontally */
  width: 100%;
  max-width: 800px;          /* optional, limits width on large screens */
  margin: 2rem auto;         /* centers block and adds spacing */
  position: relative;
  padding-bottom: 56.25%;    /* 16:9 aspect ratio */
  height: 0;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 100%;
  border: 0;
}


